serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, timeUsec, Endian.little);
data_.setUint32(8, integrationTimeUs, Endian.little);
data_.setFloat32(12, integratedX, Endian.little);
data_.setFloat32(16, integratedY, Endian.little);
data_.setFloat32(20, integratedXgyro, Endian.little);
data_.setFloat32(24, integratedYgyro, Endian.little);
data_.setFloat32(28, integratedZgyro, Endian.little);
data_.setUint32(32, timeDeltaDistanceUs, Endian.little);
data_.setFloat32(36, distance, Endian.little);
data_.setInt16(40, temperature, Endian.little);
data_.setUint8(42, sensorId);
data_.setUint8(43, quality);
return data_;
}