[][src]Struct mavlink::common::ATTITUDE_QUATERNION_COV_DATA

pub struct ATTITUDE_QUATERNION_COV_DATA {
    pub time_usec: u64,
    pub q: [f32; 4],
    pub rollspeed: f32,
    pub pitchspeed: f32,
    pub yawspeed: f32,
    pub covariance: [f32; 9],
}

id: 61 The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right), expressed as quaternion. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0)..

Fields

time_usec: u64

Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number..

q: [f32; 4]

Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation).

rollspeed: f32

Roll angular speed.

pitchspeed: f32

Pitch angular speed.

yawspeed: f32

Yaw angular speed.

covariance: [f32; 9]

Row-major representation of a 3x3 attitude covariance matrix (states: roll, pitch, yaw; first three entries are the first ROW, next three entries are the second row, etc.). If unknown, assign NaN value to first element in the array..

Implementations

impl ATTITUDE_QUATERNION_COV_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 ATTITUDE_QUATERNION_COV_DATA[src]

impl Debug for ATTITUDE_QUATERNION_COV_DATA[src]

impl Default for ATTITUDE_QUATERNION_COV_DATA[src]

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

impl PartialEq<ATTITUDE_QUATERNION_COV_DATA> for ATTITUDE_QUATERNION_COV_DATA[src]

impl Serialize for ATTITUDE_QUATERNION_COV_DATA[src]

impl StructuralPartialEq for ATTITUDE_QUATERNION_COV_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.