serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setFloat32(0, sueHeightTargetMax, Endian.little);
  data_.setFloat32(4, sueHeightTargetMin, Endian.little);
  data_.setFloat32(8, sueAltHoldThrottleMin, Endian.little);
  data_.setFloat32(12, sueAltHoldThrottleMax, Endian.little);
  data_.setFloat32(16, sueAltHoldPitchMin, Endian.little);
  data_.setFloat32(20, sueAltHoldPitchMax, Endian.little);
  data_.setFloat32(24, sueAltHoldPitchHigh, Endian.little);
  return data_;
}