serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, timeBootMs, Endian.little);
data_.setInt32(4, altGps, Endian.little);
data_.setInt32(8, altImu, Endian.little);
data_.setInt32(12, altBarometric, Endian.little);
data_.setInt32(16, altOpticalFlow, Endian.little);
data_.setInt32(20, altRangeFinder, Endian.little);
data_.setInt32(24, altExtra, Endian.little);
return data_;
}