[][src]Struct mavlink::common::SAFETY_ALLOWED_AREA_DATA

pub struct SAFETY_ALLOWED_AREA_DATA {
    pub p1x: f32,
    pub p1y: f32,
    pub p1z: f32,
    pub p2x: f32,
    pub p2y: f32,
    pub p2z: f32,
    pub frame: MavFrame,
}

id: 55 Read out the safety zone the MAV currently assumes..

Fields

p1x: f32

x position 1 / Latitude 1.

p1y: f32

y position 1 / Longitude 1.

p1z: f32

z position 1 / Altitude 1.

p2x: f32

x position 2 / Latitude 2.

p2y: f32

y position 2 / Longitude 2.

p2z: f32

z position 2 / Altitude 2.

frame: MavFrame

Coordinate frame. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down..

Implementations

impl SAFETY_ALLOWED_AREA_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 SAFETY_ALLOWED_AREA_DATA[src]

impl Debug for SAFETY_ALLOWED_AREA_DATA[src]

impl Default for SAFETY_ALLOWED_AREA_DATA[src]

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

impl PartialEq<SAFETY_ALLOWED_AREA_DATA> for SAFETY_ALLOWED_AREA_DATA[src]

impl Serialize for SAFETY_ALLOWED_AREA_DATA[src]

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