[][src]Struct mavlink::common::RAW_PRESSURE_DATA

pub struct RAW_PRESSURE_DATA {
    pub time_usec: u64,
    pub press_abs: i16,
    pub press_diff1: i16,
    pub press_diff2: i16,
    pub temperature: i16,
}

id: 28 The RAW pressure readings for the typical setup of one absolute pressure and one differential pressure sensor. The sensor values should be the raw, UNSCALED ADC values..

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..

press_abs: i16

Absolute pressure (raw).

press_diff1: i16

Differential pressure 1 (raw, 0 if nonexistent).

press_diff2: i16

Differential pressure 2 (raw, 0 if nonexistent).

temperature: i16

Raw Temperature measurement (raw).

Implementations

impl RAW_PRESSURE_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 RAW_PRESSURE_DATA[src]

impl Debug for RAW_PRESSURE_DATA[src]

impl Default for RAW_PRESSURE_DATA[src]

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

impl PartialEq<RAW_PRESSURE_DATA> for RAW_PRESSURE_DATA[src]

impl Serialize for RAW_PRESSURE_DATA[src]

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