serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setFloat32(0, desired, Endian.little);
data_.setFloat32(4, achieved, Endian.little);
data_.setFloat32(8, ff, Endian.little);
data_.setFloat32(12, p, Endian.little);
data_.setFloat32(16, i, Endian.little);
data_.setFloat32(20, d, Endian.little);
data_.setUint8(24, axis);
data_.setFloat32(25, srate, Endian.little);
data_.setFloat32(29, pdmod, Endian.little);
return data_;
}