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, lon, Endian.little);
data_.setInt32(12, alt, Endian.little);
data_.setFloat32(16, groundAlt, Endian.little);
data_.setFloat32(20, barometerAlt, Endian.little);
return data_;
}