GimbalDeviceInformation class

Information about a low level gimbal. This message should be requested by the gimbal manager or a ground station using MAV_CMD_REQUEST_MESSAGE. The maximum angles and rates are the limits by hardware. However, the limits by software used are likely different/smaller and dependent on mode/settings/etc..

GIMBAL_DEVICE_INFORMATION

Implemented types

Constructors

GimbalDeviceInformation({required uint64_t uid, required uint32_t timeBootMs, required uint32_t firmwareVersion, required uint32_t hardwareVersion, required float rollMin, required float rollMax, required float pitchMin, required float pitchMax, required float yawMin, required float yawMax, required GimbalDeviceCapFlags capFlags, required uint16_t customCapFlags, required List<char> vendorName, required List<char> modelName, required List<char> customName, required uint8_t gimbalDeviceId})
GimbalDeviceInformation.parse(ByteData data_)
factory

Properties

capFlags GimbalDeviceCapFlags
Bitmap of gimbal capability flags.
final
customCapFlags uint16_t
Bitmap for use for gimbal-specific capability flags.
final
customName List<char>
Custom name of the gimbal given to it by the user.
final
firmwareVersion uint32_t
Version of the gimbal firmware, encoded as: (Dev & 0xff) << 24 | (Patch & 0xff) << 16 | (Minor & 0xff) << 8 | (Major & 0xff).
final
gimbalDeviceId uint8_t
This field is to be used if the gimbal manager and the gimbal device are the same component and hence have the same component ID. This field is then set to a number between 1-6. If the component ID is separate, this field is not required and must be set to 0.
final
hardwareVersion uint32_t
Version of the gimbal hardware, encoded as: (Dev & 0xff) << 24 | (Patch & 0xff) << 16 | (Minor & 0xff) << 8 | (Major & 0xff).
final
hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
modelName List<char>
Name of the gimbal model.
final
pitchMax float
Maximum hardware pitch angle (positive: up, negative: down). NAN if unknown.
final
pitchMin float
Minimum hardware pitch angle (positive: up, negative: down). NAN if unknown.
final
rollMax float
Maximum hardware roll angle (positive: rolling to the right, negative: rolling to the left). NAN if unknown.
final
rollMin float
Minimum hardware roll angle (positive: rolling to the right, negative: rolling to the left). NAN if unknown.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeBootMs uint32_t
Timestamp (time since system boot).
final
uid uint64_t
UID of gimbal hardware (0 if unknown).
final
vendorName List<char>
Name of the gimbal vendor.
final
yawMax float
Maximum hardware yaw angle (positive: to the right, negative: to the left). NAN if unknown.
final
yawMin float
Minimum hardware yaw angle (positive: to the right, negative: to the left). NAN if unknown.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() ByteData
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

mavlinkEncodedLength → const int