[][src]Struct mavlink::ardupilotmega::MAG_CAL_PROGRESS_DATA

pub struct MAG_CAL_PROGRESS_DATA {
    pub direction_x: f32,
    pub direction_y: f32,
    pub direction_z: f32,
    pub compass_id: u8,
    pub cal_mask: u8,
    pub cal_status: MagCalStatus,
    pub attempt: u8,
    pub completion_pct: u8,
    pub completion_mask: [u8; 10],
}

id: 191 Reports progress of compass calibration..

Fields

direction_x: f32

Body frame direction vector for display..

direction_y: f32

Body frame direction vector for display..

direction_z: f32

Body frame direction vector for display..

compass_id: u8

Compass being calibrated..

cal_mask: u8

Bitmask of compasses being calibrated..

cal_status: MagCalStatus

Calibration Status..

attempt: u8

Attempt number..

completion_pct: u8

Completion percentage..

completion_mask: [u8; 10]

Bitmask of sphere sections (see http://en.wikipedia.org/wiki/Geodesic_grid)..

Implementations

impl MAG_CAL_PROGRESS_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 MAG_CAL_PROGRESS_DATA[src]

impl Debug for MAG_CAL_PROGRESS_DATA[src]

impl Default for MAG_CAL_PROGRESS_DATA[src]

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

impl PartialEq<MAG_CAL_PROGRESS_DATA> for MAG_CAL_PROGRESS_DATA[src]

impl Serialize for MAG_CAL_PROGRESS_DATA[src]

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