GimbalManagerSetAttitude class

High level message to control a gimbal's attitude. This message is to be sent to the gimbal manager (e.g. from a ground station). Angles and rates can be set to NaN according to use case.

GIMBAL_MANAGER_SET_ATTITUDE

Implemented types

Constructors

GimbalManagerSetAttitude({required GimbalManagerFlags flags, required List<float> q, required float angularVelocityX, required float angularVelocityY, required float angularVelocityZ, required uint8_t targetSystem, required uint8_t targetComponent, required uint8_t gimbalDeviceId})
GimbalManagerSetAttitude.parse(ByteData data_)
factory

Properties

angularVelocityX → float
X component of angular velocity, positive is rolling to the right, NaN to be ignored.
final
angularVelocityY → float
Y component of angular velocity, positive is pitching up, NaN to be ignored.
final
angularVelocityZ → float
Z component of angular velocity, positive is yawing to the right, NaN to be ignored.
final
flags → ActuatorConfiguration
High level gimbal manager flags to use.
final
gimbalDeviceId → ActuatorConfiguration
Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).
final
hashCode → ActuatorConfiguration
The hash code for this object.
no setterinherited
mavlinkCrcExtra → ActuatorConfiguration
no setteroverride
mavlinkMessageId → ActuatorConfiguration
no setteroverride
q → List<float>
Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation, the frame is depends on whether the flag GIMBAL_MANAGER_FLAGS_YAW_LOCK is set)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetComponent → ActuatorConfiguration
Component ID
final
targetSystem → ActuatorConfiguration
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