serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint32(0, timeBootMs, Endian.little);
  data_.setInt16(4, airspeedImu, Endian.little);
  data_.setInt16(6, airspeedPitot, Endian.little);
  data_.setInt16(8, airspeedHotWire, Endian.little);
  data_.setInt16(10, airspeedUltrasonic, Endian.little);
  data_.setInt16(12, aoa, Endian.little);
  data_.setInt16(14, aoy, Endian.little);
  return data_;
}