serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint8(0, sueAileronOutputChannel);
  data_.setUint8(1, sueAileronReversed);
  data_.setUint8(2, sueElevatorOutputChannel);
  data_.setUint8(3, sueElevatorReversed);
  data_.setUint8(4, sueThrottleOutputChannel);
  data_.setUint8(5, sueThrottleReversed);
  data_.setUint8(6, sueRudderOutputChannel);
  data_.setUint8(7, sueRudderReversed);
  return data_;
}