serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setInt32(0, pointingA, Endian.little);
  data_.setInt32(4, pointingB, Endian.little);
  data_.setInt32(8, pointingC, Endian.little);
  data_.setUint8(12, targetSystem);
  data_.setUint8(13, targetComponent);
  data_.setUint8(14, mountMode);
  return data_;
}