[][src]Struct mavlink::common::DISTANCE_SENSOR_DATA

pub struct DISTANCE_SENSOR_DATA {
    pub time_boot_ms: u32,
    pub min_distance: u16,
    pub max_distance: u16,
    pub current_distance: u16,
    pub mavtype: MavDistanceSensor,
    pub id: u8,
    pub orientation: MavSensorOrientation,
    pub covariance: u8,
    pub horizontal_fov: f32,
    pub vertical_fov: f32,
    pub quaternion: [f32; 4],
}

id: 132 Distance sensor information for an onboard rangefinder..

Fields

time_boot_ms: u32

id: 132 Distance sensor information for an onboard rangefinder..

min_distance: u16

id: 132 Distance sensor information for an onboard rangefinder..

max_distance: u16

id: 132 Distance sensor information for an onboard rangefinder..

current_distance: u16

id: 132 Distance sensor information for an onboard rangefinder..

mavtype: MavDistanceSensor

id: 132 Distance sensor information for an onboard rangefinder..

id: u8

id: 132 Distance sensor information for an onboard rangefinder..

orientation: MavSensorOrientation

id: 132 Distance sensor information for an onboard rangefinder..

covariance: u8

id: 132 Distance sensor information for an onboard rangefinder..

horizontal_fov: f32

id: 132 Distance sensor information for an onboard rangefinder..

vertical_fov: f32

id: 132 Distance sensor information for an onboard rangefinder..

quaternion: [f32; 4]

id: 132 Distance sensor information for an onboard rangefinder..

Implementations

impl DISTANCE_SENSOR_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 DISTANCE_SENSOR_DATA[src]

impl Debug for DISTANCE_SENSOR_DATA[src]

impl Default for DISTANCE_SENSOR_DATA[src]

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

impl PartialEq<DISTANCE_SENSOR_DATA> for DISTANCE_SENSOR_DATA[src]

impl Serialize for DISTANCE_SENSOR_DATA[src]

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