serialize method

  1. @override
ByteData serialize()
override

Implementation

@override
ByteData serialize() {
  var data_ = ByteData(mavlinkEncodedLength);
  data_.setUint64(0, timeUsec, Endian.little);
  data_.setFloat32(8, radius, Endian.little);
  data_.setInt32(12, x, Endian.little);
  data_.setInt32(16, y, Endian.little);
  data_.setFloat32(20, z, Endian.little);
  data_.setUint8(24, frame);
  return data_;
}