serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, timeUsec, Endian.little);
data_.setFloat32(8, altitudeMonotonic, Endian.little);
data_.setFloat32(12, altitudeAmsl, Endian.little);
data_.setFloat32(16, altitudeLocal, Endian.little);
data_.setFloat32(20, altitudeRelative, Endian.little);
data_.setFloat32(24, altitudeTerrain, Endian.little);
data_.setFloat32(28, bottomClearance, Endian.little);
return data_;
}