[][src]Struct mavlink::ardupilotmega::MAG_CAL_REPORT_DATA

pub struct MAG_CAL_REPORT_DATA {
    pub fitness: f32,
    pub ofs_x: f32,
    pub ofs_y: f32,
    pub ofs_z: f32,
    pub diag_x: f32,
    pub diag_y: f32,
    pub diag_z: f32,
    pub offdiag_x: f32,
    pub offdiag_y: f32,
    pub offdiag_z: f32,
    pub compass_id: u8,
    pub cal_mask: u8,
    pub cal_status: MagCalStatus,
    pub autosaved: u8,
    pub orientation_confidence: f32,
    pub old_orientation: MavSensorOrientation,
    pub new_orientation: MavSensorOrientation,
    pub scale_factor: f32,
}

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

Fields

fitness: f32

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

ofs_x: f32

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

ofs_y: f32

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

ofs_z: f32

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

diag_x: f32

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

diag_y: f32

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

diag_z: f32

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

offdiag_x: f32

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

offdiag_y: f32

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

offdiag_z: f32

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

compass_id: u8

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

cal_mask: u8

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

cal_status: MagCalStatus

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

autosaved: u8

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

orientation_confidence: f32

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

old_orientation: MavSensorOrientation

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

new_orientation: MavSensorOrientation

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

scale_factor: f32

id: 192 Reports results of completed compass calibration. Sent until MAG_CAL_ACK received..

Implementations

impl MAG_CAL_REPORT_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_REPORT_DATA[src]

impl Debug for MAG_CAL_REPORT_DATA[src]

impl Default for MAG_CAL_REPORT_DATA[src]

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

impl PartialEq<MAG_CAL_REPORT_DATA> for MAG_CAL_REPORT_DATA[src]

impl Serialize for MAG_CAL_REPORT_DATA[src]

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