serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, timeBootMs, Endian.little);
data_.setFloat32(4, x, Endian.little);
data_.setFloat32(8, y, Endian.little);
data_.setFloat32(12, z, Endian.little);
data_.setFloat32(16, minDistance, Endian.little);
data_.setFloat32(20, maxDistance, Endian.little);
data_.setUint16(24, obstacleId, Endian.little);
data_.setUint8(26, sensorType);
data_.setUint8(27, frame);
return data_;
}