serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint16(0, deviceFlags, Endian.little);
  data_.setUint16(2, managerFlags, Endian.little);
  data_.setUint8(4, gimbalId);
  data_.setUint8(5, supervisor);
  data_.setUint8(6, profile);
  return data_;
}