HIGH_LATENCY_DATA

Struct HIGH_LATENCY_DATA 

Source
pub struct HIGH_LATENCY_DATA {
Show 24 fields pub custom_mode: u32, pub latitude: i32, pub longitude: i32, pub roll: i16, pub pitch: i16, pub heading: u16, pub heading_sp: i16, pub altitude_amsl: i16, pub altitude_sp: i16, pub wp_distance: u16, pub base_mode: MavModeFlag, pub landed_state: MavLandedState, pub throttle: i8, pub airspeed: u8, pub airspeed_sp: u8, pub groundspeed: u8, pub climb_rate: i8, pub gps_nsat: u8, pub gps_fix_type: GpsFixType, pub battery_remaining: u8, pub temperature: i8, pub temperature_air: i8, pub failsafe: u8, pub wp_num: u8,
}
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)
Available on crate feature ualberta only.
Expand description

id: 234 Message appropriate for high latency connections like Iridium.

Fieldsยง

ยงcustom_mode: u32
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

A bitfield for use for autopilot-specific flags.

ยงlatitude: i32
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

Latitude

ยงlongitude: i32
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

Longitude

ยงroll: i16
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

roll

ยงpitch: i16
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

pitch

ยงheading: u16
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

heading

ยงheading_sp: i16
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

heading setpoint

ยงaltitude_amsl: i16
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

Altitude above mean sea level

ยงaltitude_sp: i16
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

Altitude setpoint relative to the home position

ยงwp_distance: u16
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

distance to target

ยงbase_mode: MavModeFlag
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

Bitmap of enabled system modes.

ยงlanded_state: MavLandedState
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown.

ยงthrottle: i8
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

throttle (percentage)

ยงairspeed: u8
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

airspeed

ยงairspeed_sp: u8
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

airspeed setpoint

ยงgroundspeed: u8
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

groundspeed

ยงclimb_rate: i8
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

climb rate

ยงgps_nsat: u8
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

Number of satellites visible. If unknown, set to UINT8_MAX

ยงgps_fix_type: GpsFixType
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

GPS Fix type.

ยงbattery_remaining: u8
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

Remaining battery (percentage)

ยงtemperature: i8
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

Autopilot temperature (degrees C)

ยงtemperature_air: i8
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

Air temperature (degrees C) from airspeed sensor

ยงfailsafe: u8
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

failsafe (each bit represents a failsafe where 0=ok, 1=failsafe active (bit0:RC, bit1:batt, bit2:GPS, bit3:GCS, bit4:fence)

ยงwp_num: u8
๐Ÿ‘ŽDeprecated: See HIGH_LATENCY2 (Deprecated since 2020-10)

current waypoint number

Implementationsยง

Sourceยง

impl HIGH_LATENCY_DATA

Source

pub const ENCODED_LEN: usize = 40usize

Source

pub const DEFAULT: Self

Trait Implementationsยง

Sourceยง

impl Clone for HIGH_LATENCY_DATA

Sourceยง

fn clone(&self) -> HIGH_LATENCY_DATA

Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยง

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Sourceยง

impl Debug for HIGH_LATENCY_DATA

Sourceยง

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Sourceยง

impl Default for HIGH_LATENCY_DATA

Sourceยง

fn default() -> Self

Returns the โ€œdefault valueโ€ for a type. Read more
Sourceยง

impl<'de> Deserialize<'de> for HIGH_LATENCY_DATA

Sourceยง

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Sourceยง

impl MessageData for HIGH_LATENCY_DATA

Sourceยง

const ID: u32 = 234u32

Sourceยง

const NAME: &'static str = "HIGH_LATENCY"

Sourceยง

const EXTRA_CRC: u8 = 150u8

Sourceยง

const ENCODED_LEN: usize = 40usize

Sourceยง

type Message = MavMessage

Sourceยง

fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>

Sourceยง

fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize

Sourceยง

impl PartialEq for HIGH_LATENCY_DATA

Sourceยง

fn eq(&self, other: &HIGH_LATENCY_DATA) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 ยท Sourceยง

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Sourceยง

impl Serialize for HIGH_LATENCY_DATA

Sourceยง

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Sourceยง

impl StructuralPartialEq for HIGH_LATENCY_DATA

Auto Trait Implementationsยง

Blanket Implementationsยง

Sourceยง

impl<T> Any for T
where T: 'static + ?Sized,

Sourceยง

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Sourceยง

impl<T> Borrow<T> for T
where T: ?Sized,

Sourceยง

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Sourceยง

impl<T> BorrowMut<T> for T
where T: ?Sized,

Sourceยง

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Sourceยง

impl<T> CloneToUninit for T
where T: Clone,

Sourceยง

unsafe fn clone_to_uninit(&self, dest: *mut u8)

๐Ÿ”ฌThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Sourceยง

impl<T> From<T> for T

Sourceยง

fn from(t: T) -> T

Returns the argument unchanged.

Sourceยง

impl<T, U> Into<U> for T
where U: From<T>,

Sourceยง

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Sourceยง

impl<T> Same for T

Sourceยง

type Output = T

Should always be Self
Sourceยง

impl<T> ToOwned for T
where T: Clone,

Sourceยง

type Owned = T

The resulting type after obtaining ownership.
Sourceยง

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Sourceยง

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Sourceยง

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Sourceยง

type Error = Infallible

The type returned in the event of a conversion error.
Sourceยง

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Sourceยง

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Sourceยง

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Sourceยง

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Sourceยง

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,