serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, timeBootMs, Endian.little);
data_.setInt32(4, lat, Endian.little);
data_.setInt32(8, lng, Endian.little);
data_.setFloat32(12, alt, Endian.little);
data_.setFloat32(16, roll, Endian.little);
data_.setFloat32(20, pitch, Endian.little);
data_.setFloat32(24, yaw, Endian.little);
data_.setFloat32(28, distance, Endian.little);
data_.setFloat32(32, temperature, Endian.little);
data_.setUint8(36, id);
data_.setUint8(37, healthy);
return data_;
}