serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, deviceCapFlags, Endian.little);
data_.setUint32(4, managerCapFlags, Endian.little);
data_.setFloat32(8, rollMin, Endian.little);
data_.setFloat32(12, rollMax, Endian.little);
data_.setFloat32(16, pitchMin, Endian.little);
data_.setFloat32(20, pitchMax, Endian.little);
data_.setFloat32(24, yawMin, Endian.little);
data_.setFloat32(28, yawMax, Endian.little);
data_.setUint8(32, gimbalId);
return data_;
}