pub type AutopilotStateForGimbalDevice = AutopilotStateForGimbalDevice;
Expand description

Aliased Type§

struct AutopilotStateForGimbalDevice {
Show 13 fields pub target_system: u8, pub target_component: u8, pub time_boot_us: u64, pub q: [f32; 4], pub q_estimated_delay_us: u32, pub vx: f32, pub vy: f32, pub vz: f32, pub v_estimated_delay_us: u32, pub feed_forward_angular_velocity_z: f32, pub estimator_status: EstimatorStatusFlags, pub landed_state: MavLandedState, pub angular_velocity_z: f32,
}

Fields§

§target_system: u8

MAVLink field target_system.

System ID

§target_component: u8

MAVLink field target_component.

Component ID

§time_boot_us: u64

MAVLink field time_boot_us.

Timestamp (time since system boot).

§q: [f32; 4]

MAVLink field q.

Quaternion components of autopilot attitude: w, x, y, z (1 0 0 0 is the null-rotation, Hamilton convention).

§q_estimated_delay_us: u32

MAVLink field q_estimated_delay_us.

Estimated delay of the attitude data. 0 if unknown.

§vx: f32

MAVLink field vx.

X Speed in NED (North, East, Down). NAN if unknown.

§vy: f32

MAVLink field vy.

Y Speed in NED (North, East, Down). NAN if unknown.

§vz: f32

MAVLink field vz.

Z Speed in NED (North, East, Down). NAN if unknown.

§v_estimated_delay_us: u32

MAVLink field v_estimated_delay_us.

Estimated delay of the speed data. 0 if unknown.

§feed_forward_angular_velocity_z: f32

MAVLink field feed_forward_angular_velocity_z.

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.

§estimator_status: EstimatorStatusFlags

MAVLink field estimator_status.

Bitmap indicating which estimator outputs are valid.

§landed_state: MavLandedState

MAVLink field landed_state.

The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown.

§angular_velocity_z: f32

MAVLink field angular_velocity_z.

Z component of angular velocity in NED (North, East, Down). NaN if unknown.