serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint8(0, sueRollStabilizationAilerons);
  data_.setUint8(1, sueRollStabilizationRudder);
  data_.setUint8(2, suePitchStabilization);
  data_.setUint8(3, sueYawStabilizationRudder);
  data_.setUint8(4, sueYawStabilizationAileron);
  data_.setUint8(5, sueAileronNavigation);
  data_.setUint8(6, sueRudderNavigation);
  data_.setUint8(7, sueAltitudeholdStabilized);
  data_.setUint8(8, sueAltitudeholdWaypoint);
  data_.setUint8(9, sueRacingMode);
  return data_;
}