[][src]Struct mavlink::common::AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_DATA

pub struct AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_DATA {
    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 target_system: u8,
    pub target_component: u8,
    pub landed_state: MavLandedState,
}

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

Fields

time_boot_us: u64

Timestamp (time since system boot)..

q: [f32; 4]

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

q_estimated_delay_us: u32

Estimated delay of the attitude data..

vx: f32

X Speed in NED (North, East, Down)..

vy: f32

Y Speed in NED (North, East, Down)..

vz: f32

Z Speed in NED (North, East, Down)..

v_estimated_delay_us: u32

Estimated delay of the speed data..

feed_forward_angular_velocity_z: f32

Feed forward Z component of angular velocity, positive is yawing to the right, NaN to be ignored. This is to indicate if the autopilot is actively yawing..

estimator_status: EstimatorStatusFlags

Bitmap indicating which estimator outputs are valid..

target_system: u8

System ID.

target_component: u8

Component ID.

landed_state: MavLandedState

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

Implementations

impl AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_DATA[src]

pub const ENCODED_LEN: usize[src]

pub fn deser(
    version: MavlinkVersion,
    _input: &[u8]
) -> Result<Self, ParserError>
[src]

pub fn ser(&self) -> Vec<u8>[src]

Trait Implementations

impl Clone for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_DATA[src]

impl Debug for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_DATA[src]

impl Default for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_DATA[src]

impl<'de> Deserialize<'de> for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_DATA[src]

impl PartialEq<AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_DATA> for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_DATA[src]

impl Serialize for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_DATA[src]

impl StructuralPartialEq for AUTOPILOT_STATE_FOR_GIMBAL_DEVICE_DATA[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.