serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, customMode, Endian.little);
  data_.setUint8(4, type);
  data_.setUint8(5, autopilot);
  data_.setUint8(6, baseMode);
  data_.setUint8(7, systemStatus);
  data_.setUint8(8, mavlinkVersion);
  return data_;
}