Struct mavlink::matrixpilot::SERIAL_UDB_EXTRA_F2_A_DATA

source ·
pub struct SERIAL_UDB_EXTRA_F2_A_DATA {
Show 27 fields pub sue_time: u32, pub sue_latitude: i32, pub sue_longitude: i32, pub sue_altitude: i32, pub sue_waypoint_index: u16, pub sue_rmat0: i16, pub sue_rmat1: i16, pub sue_rmat2: i16, pub sue_rmat3: i16, pub sue_rmat4: i16, pub sue_rmat5: i16, pub sue_rmat6: i16, pub sue_rmat7: i16, pub sue_rmat8: i16, pub sue_cog: u16, pub sue_sog: i16, pub sue_cpu_load: u16, pub sue_air_speed_3DIMU: u16, pub sue_estimated_wind_0: i16, pub sue_estimated_wind_1: i16, pub sue_estimated_wind_2: i16, pub sue_magFieldEarth0: i16, pub sue_magFieldEarth1: i16, pub sue_magFieldEarth2: i16, pub sue_svs: i16, pub sue_hdop: i16, pub sue_status: u8,
}
Available on crate feature matrixpilot only.
Expand description

id: 170 Backwards compatible MAVLink version of SERIAL_UDB_EXTRA - F2: Format Part A.

Fields§

§sue_time: u32

Serial UDB Extra Time.

§sue_latitude: i32

Serial UDB Extra Latitude.

§sue_longitude: i32

Serial UDB Extra Longitude.

§sue_altitude: i32

Serial UDB Extra Altitude.

§sue_waypoint_index: u16

Serial UDB Extra Waypoint Index.

§sue_rmat0: i16

Serial UDB Extra Rmat 0.

§sue_rmat1: i16

Serial UDB Extra Rmat 1.

§sue_rmat2: i16

Serial UDB Extra Rmat 2.

§sue_rmat3: i16

Serial UDB Extra Rmat 3.

§sue_rmat4: i16

Serial UDB Extra Rmat 4.

§sue_rmat5: i16

Serial UDB Extra Rmat 5.

§sue_rmat6: i16

Serial UDB Extra Rmat 6.

§sue_rmat7: i16

Serial UDB Extra Rmat 7.

§sue_rmat8: i16

Serial UDB Extra Rmat 8.

§sue_cog: u16

Serial UDB Extra GPS Course Over Ground.

§sue_sog: i16

Serial UDB Extra Speed Over Ground.

§sue_cpu_load: u16

Serial UDB Extra CPU Load.

§sue_air_speed_3DIMU: u16

Serial UDB Extra 3D IMU Air Speed.

§sue_estimated_wind_0: i16

Serial UDB Extra Estimated Wind 0.

§sue_estimated_wind_1: i16

Serial UDB Extra Estimated Wind 1.

§sue_estimated_wind_2: i16

Serial UDB Extra Estimated Wind 2.

§sue_magFieldEarth0: i16

Serial UDB Extra Magnetic Field Earth 0.

§sue_magFieldEarth1: i16

Serial UDB Extra Magnetic Field Earth 1.

§sue_magFieldEarth2: i16

Serial UDB Extra Magnetic Field Earth 2.

§sue_svs: i16

Serial UDB Extra Number of Satellites in View.

§sue_hdop: i16

Serial UDB Extra GPS Horizontal Dilution of Precision.

§sue_status: u8

Serial UDB Extra Status.

Implementations§

source§

impl SERIAL_UDB_EXTRA_F2_A_DATA

source

pub const ENCODED_LEN: usize = 61usize

source

pub const DEFAULT: Self = _

Trait Implementations§

source§

impl Clone for SERIAL_UDB_EXTRA_F2_A_DATA

source§

fn clone(&self) -> SERIAL_UDB_EXTRA_F2_A_DATA

Returns a copy 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 SERIAL_UDB_EXTRA_F2_A_DATA

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for SERIAL_UDB_EXTRA_F2_A_DATA

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for SERIAL_UDB_EXTRA_F2_A_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 SERIAL_UDB_EXTRA_F2_A_DATA

source§

const ID: u32 = 170u32

source§

const NAME: &'static str = "SERIAL_UDB_EXTRA_F2_A"

source§

const EXTRA_CRC: u8 = 103u8

source§

const ENCODED_LEN: usize = 61usize

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 SERIAL_UDB_EXTRA_F2_A_DATA

source§

fn eq(&self, other: &SERIAL_UDB_EXTRA_F2_A_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 SERIAL_UDB_EXTRA_F2_A_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 SERIAL_UDB_EXTRA_F2_A_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, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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>,