serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint32(0, timeBootMs, Endian.little);
data_.setUint32(4, firmwareVersion, Endian.little);
data_.setFloat32(8, focalLength, Endian.little);
data_.setFloat32(12, sensorSizeH, Endian.little);
data_.setFloat32(16, sensorSizeV, Endian.little);
data_.setUint32(20, flags, Endian.little);
data_.setUint16(24, resolutionH, Endian.little);
data_.setUint16(26, resolutionV, Endian.little);
data_.setUint16(28, camDefinitionVersion, Endian.little);
MavlinkMessage.setUint8List(data_, 30, vendorName);
MavlinkMessage.setUint8List(data_, 62, modelName);
data_.setUint8(94, lensId);
MavlinkMessage.setInt8List(data_, 95, camDefinitionUri);
data_.setUint8(235, gimbalDeviceId);
return data_;
}