serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint8(0, targetSystem);
  data_.setUint8(1, targetComponent);
  data_.setUint8(2, cmdId);
  MavlinkMessage.setUint8List(data_, 3, value);
  return data_;
}