serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, timeUsec, Endian.little);
data_.setFloat32(8, rollAilerons, Endian.little);
data_.setFloat32(12, pitchElevator, Endian.little);
data_.setFloat32(16, yawRudder, Endian.little);
data_.setFloat32(20, throttle, Endian.little);
data_.setFloat32(24, aux1, Endian.little);
data_.setFloat32(28, aux2, Endian.little);
data_.setFloat32(32, aux3, Endian.little);
data_.setFloat32(36, aux4, Endian.little);
data_.setUint8(40, mode);
data_.setUint8(41, navMode);
return data_;
}