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 GimbalManagerFlags
High level gimbal manager flags to use.
final
gimbalDeviceId uint8_t
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 int
The hash code for this object.
no setterinherited
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, 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 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