serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setFloat32(0, motorRpm, Endian.little);
  data_.setUint8(4, ledStatus);
  data_.setUint8(5, satcomStatus);
  MavlinkMessage.setUint8List(data_, 6, servoStatus);
  return data_;
}