serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, vehicleTimestamp, Endian.little);
data_.setUint32(8, utcTime, Endian.little);
data_.setFloat32(12, param1, Endian.little);
data_.setFloat32(16, param2, Endian.little);
data_.setFloat32(20, param3, Endian.little);
data_.setFloat32(24, param4, Endian.little);
data_.setInt32(28, x, Endian.little);
data_.setInt32(32, y, Endian.little);
data_.setFloat32(36, z, Endian.little);
data_.setUint16(40, command, Endian.little);
data_.setUint8(42, targetSystem);
data_.setUint8(43, targetComponent);
data_.setUint8(44, frame);
data_.setUint8(45, current);
data_.setUint8(46, autocontinue);
return data_;
}