Storm32GimbalManagerControl class
Message to a gimbal manager to control the gimbal attitude. Angles and rates can be set to NaN according to use case. A gimbal device is never to react to this message.
STORM32_GIMBAL_MANAGER_CONTROL
- Implemented types
Constructors
-
Storm32GimbalManagerControl({required List<
float> q, required float angularVelocityX, required float angularVelocityY, required float angularVelocityZ, required GimbalDeviceFlags deviceFlags, required MavStorm32GimbalManagerFlags managerFlags, required uint8_t targetSystem, required uint8_t targetComponent, required uint8_t gimbalId, required MavStorm32GimbalManagerClient client}) - Storm32GimbalManagerControl.parse(ByteData data_)
-
factory
Properties
- angularVelocityX → float
-
X component of angular velocity (positive: roll to the right). NaN to be ignored.
final
- angularVelocityY → float
-
Y component of angular velocity (positive: tilt up). NaN to be ignored.
final
- angularVelocityZ → float
-
Z component of angular velocity (positive: pan to the right). NaN to be ignored. The frame is determined by the GIMBAL_DEVICE_FLAGS_YAW_IN_xxx_FRAME flags.
final
- client → MavStorm32GimbalManagerClient
-
Client which is contacting the gimbal manager (must be set).
final
- deviceFlags → GimbalDeviceFlags
-
Gimbal device flags to be applied (UINT16_MAX to be ignored). Same flags as used in GIMBAL_DEVICE_SET_ATTITUDE.
final
- gimbalId → uint8_t
-
Gimbal ID of the gimbal manager to address (component ID or 1-6 for non-MAVLink gimbal, 0 for all gimbals). Send command multiple times for more than one but not all gimbals.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- managerFlags → MavStorm32GimbalManagerFlags
-
Gimbal manager flags to be applied (0 to be ignored).
final
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
-
q
→ List<
float> -
Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation). Set first element to NaN to be ignored. The frame is determined by the GIMBAL_DEVICE_FLAGS_YAW_IN_xxx_FRAME flags.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetComponent → uint8_t
-
Component ID
final
- targetSystem → uint8_t
-
System ID
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