AutopilotStateForGimbalDevice class

Low level message containing autopilot state relevant for a gimbal device. This message is to be sent from the autopilot to the gimbal device component. The data of this message are for the gimbal device's estimator corrections, in particular horizon compensation, as well as indicates autopilot control intentions, e.g. feed forward angular control in the z-axis.

AUTOPILOT_STATE_FOR_GIMBAL_DEVICE

Implemented types

Constructors

AutopilotStateForGimbalDevice({required uint64_t timeBootUs, required List<float> q, required uint32_t qEstimatedDelayUs, required float vx, required float vy, required float vz, required uint32_t vEstimatedDelayUs, required float feedForwardAngularVelocityZ, required EstimatorStatusFlags estimatorStatus, required uint8_t targetSystem, required uint8_t targetComponent, required MavLandedState landedState, required float angularVelocityZ})
AutopilotStateForGimbalDevice.parse(ByteData data_)
factory

Properties

angularVelocityZ float
Z component of angular velocity in NED (North, East, Down). NaN if unknown.
final
estimatorStatus EstimatorStatusFlags
Bitmap indicating which estimator outputs are valid.
final
feedForwardAngularVelocityZ float
Feed forward Z component of angular velocity (positive: yawing to the right). NaN to be ignored. This is to indicate if the autopilot is actively yawing.
final
hashCode int
The hash code for this object.
no setterinherited
landedState MavLandedState
The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown.
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
q List<float>
Quaternion components of autopilot attitude: w, x, y, z (1 0 0 0 is the null-rotation, Hamilton convention).
final
qEstimatedDelayUs uint32_t
Estimated delay of the attitude data. 0 if unknown.
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
timeBootUs uint64_t
Timestamp (time since system boot).
final
vEstimatedDelayUs uint32_t
Estimated delay of the speed data. 0 if unknown.
final
vx float
X Speed in NED (North, East, Down). NAN if unknown.
final
vy float
Y Speed in NED (North, East, Down). NAN if unknown.
final
vz float
Z Speed in NED (North, East, Down). NAN if unknown.
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