serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, format, Endian.little);
  data_.setUint8(4, targetSystem);
  data_.setUint8(5, targetComponent);
  MavlinkMessage.setInt8List(data_, 6, tune);
  return data_;
}