serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setFloat32(0, rpm1, Endian.little);
  data_.setFloat32(4, rpm2, Endian.little);
  return data_;
}