serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint64(0, timeUsec, Endian.little);
  MavlinkMessage.setFloat32List(data_, 8, controls);
  data_.setUint8(40, groupMlx);
  data_.setUint8(41, targetSystem);
  data_.setUint8(42, targetComponent);
  return data_;
}