serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, timeBootMs, Endian.little);
data_.setUint32(4, capFlags, 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, gimbalDeviceId);
return data_;
}