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_.setInt32(16, relativeAlt, Endian.little);
data_.setInt16(20, vx, Endian.little);
data_.setInt16(22, vy, Endian.little);
data_.setInt16(24, vz, Endian.little);
data_.setUint16(26, hdg, Endian.little);
return data_;
}