serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, timeBootMs, Endian.little);
data_.setUint16(4, minDistance, Endian.little);
data_.setUint16(6, maxDistance, Endian.little);
data_.setUint16(8, currentDistance, Endian.little);
data_.setUint8(10, type);
data_.setUint8(11, id);
data_.setUint8(12, orientation);
data_.setUint8(13, covariance);
data_.setFloat32(14, horizontalFov, Endian.little);
data_.setFloat32(18, verticalFov, Endian.little);
MavlinkMessage.setFloat32List(data_, 22, quaternion);
data_.setUint8(38, signalQuality);
return data_;
}