serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setInt32(0, inputA, Endian.little);
  data_.setInt32(4, inputB, Endian.little);
  data_.setInt32(8, inputC, Endian.little);
  data_.setUint8(12, targetSystem);
  data_.setUint8(13, targetComponent);
  data_.setUint8(14, savePosition);
  return data_;
}