SetAttitudeTarget class

Sets a desired vehicle attitude. Used by an external controller to command the vehicle (manual controller or other system).

SET_ATTITUDE_TARGET

Implemented types

Constructors

SetAttitudeTarget({required uint32_t timeBootMs, required List<float> q, required float bodyRollRate, required float bodyPitchRate, required float bodyYawRate, required float thrust, required uint8_t targetSystem, required uint8_t targetComponent, required AttitudeTargetTypemask typeMask, required List<float> thrustBody})
SetAttitudeTarget.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) from MAV_FRAME_LOCAL_NED to MAV_FRAME_BODY_FRD
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
thrust float
Collective thrust, normalized to 0 .. 1 (-1 .. 1 for vehicles capable of reverse trust)
final
thrustBody List<float>
3D thrust setpoint in the body NED frame, normalized to -1 .. 1
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