serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint64(0, timeUsec, Endian.little);
  MavlinkMessage.setFloat64List(data_, 8, distance);
  data_.setUint8(136, count);
  return data_;
}