serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, timeUsec, Endian.little);
MavlinkMessage.setUint16List(data_, 8, distances);
data_.setUint16(152, minDistance, Endian.little);
data_.setUint16(154, maxDistance, Endian.little);
data_.setUint8(156, sensorType);
data_.setUint8(157, increment);
data_.setFloat32(158, incrementF, Endian.little);
data_.setFloat32(162, angleOffset, Endian.little);
data_.setUint8(166, frame);
return data_;
}