serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setFloat32(0, suePitchgain, Endian.little);
  data_.setFloat32(4, suePitchkd, Endian.little);
  data_.setFloat32(8, sueRudderElevMix, Endian.little);
  data_.setFloat32(12, sueRollElevMix, Endian.little);
  data_.setFloat32(16, sueElevatorBoost, Endian.little);
  return data_;
}