[][src]Struct mavlink::ardupilotmega::RALLY_POINT_DATA

pub struct RALLY_POINT_DATA {
    pub lat: i32,
    pub lng: i32,
    pub alt: i16,
    pub break_alt: i16,
    pub land_dir: u16,
    pub target_system: u8,
    pub target_component: u8,
    pub idx: u8,
    pub count: u8,
    pub flags: RallyFlags,
}

id: 175 A rally point. Used to set a point when from GCS -> MAV. Also used to return a point from MAV -> GCS..

Fields

lat: i32

Latitude of point..

lng: i32

Longitude of point..

alt: i16

Transit / loiter altitude relative to home..

break_alt: i16

Break altitude relative to home..

land_dir: u16

Heading to aim for when landing..

target_system: u8

System ID..

target_component: u8

Component ID..

idx: u8

Point index (first point is 0)..

count: u8

Total number of points (for sanity checking)..

flags: RallyFlags

Configuration flags..

Implementations

impl RALLY_POINT_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 RALLY_POINT_DATA[src]

impl Debug for RALLY_POINT_DATA[src]

impl Default for RALLY_POINT_DATA[src]

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

impl PartialEq<RALLY_POINT_DATA> for RALLY_POINT_DATA[src]

impl Serialize for RALLY_POINT_DATA[src]

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