AttitudeTarget class

Reports the current commanded attitude of the vehicle as specified by the autopilot. This should match the commands sent in a SET_ATTITUDE_TARGET message if the vehicle is being controlled this way.

ATTITUDE_TARGET

Implemented types

Constructors

AttitudeTarget({required uint32_t timeBootMs, required List<float> q, required float bodyRollRate, required float bodyPitchRate, required float bodyYawRate, required float thrust, required AttitudeTargetTypemask typeMask})
AttitudeTarget.parse(ByteData data_)
factory

Properties

bodyPitchRate float
Body pitch rate
final
bodyRollRate float
Body roll rate
final
bodyYawRate float
Body yaw rate
final
hashCode int
The hash code for this object.
no setterinherited
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
q List<float>
Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thrust float
Collective thrust, normalized to 0 .. 1 (-1 .. 1 for vehicles capable of reverse trust)
final
timeBootMs uint32_t
Timestamp (time since system boot).
final
typeMask AttitudeTargetTypemask
Bitmap to indicate which dimensions should be ignored by the vehicle.
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