serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setFloat32(0, sueYawkpRudder, Endian.little);
  data_.setFloat32(4, sueYawkdRudder, Endian.little);
  data_.setFloat32(8, sueRollkpRudder, Endian.little);
  data_.setFloat32(12, sueRollkdRudder, Endian.little);
  data_.setFloat32(16, sueRudderBoost, Endian.little);
  data_.setFloat32(20, sueRtlPitchDown, Endian.little);
  return data_;
}