serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setFloat32(0, pitch, Endian.little);
data_.setFloat32(4, yaw, Endian.little);
data_.setFloat32(8, pitchRate, Endian.little);
data_.setFloat32(12, yawRate, Endian.little);
data_.setUint16(16, deviceFlags, Endian.little);
data_.setUint16(18, managerFlags, Endian.little);
data_.setUint8(20, targetSystem);
data_.setUint8(21, targetComponent);
data_.setUint8(22, gimbalId);
data_.setUint8(23, client);
return data_;
}