pub struct GlobalPositionInt {
pub time_boot_ms: u32,
pub lat: i32,
pub lon: i32,
pub alt: i32,
pub relative_alt: i32,
pub vx: i16,
pub vy: i16,
pub vz: i16,
pub hdg: u16,
}Expand description
GLOBAL_POSITION_INT: the fused global position, altitude, and velocity.
Fields§
§time_boot_ms: u32§lat: i32§lon: i32§alt: i32§relative_alt: i32§vx: i16§vy: i16§vz: i16§hdg: u16Implementations§
Trait Implementations§
Source§impl Clone for GlobalPositionInt
impl Clone for GlobalPositionInt
Source§fn clone(&self) -> GlobalPositionInt
fn clone(&self) -> GlobalPositionInt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GlobalPositionInt
Source§impl Debug for GlobalPositionInt
impl Debug for GlobalPositionInt
Source§impl Default for GlobalPositionInt
impl Default for GlobalPositionInt
Source§impl Message for GlobalPositionInt
impl Message for GlobalPositionInt
Source§const NAME: &'static str = "GLOBAL_POSITION_INT"
const NAME: &'static str = "GLOBAL_POSITION_INT"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 104
const CRC_EXTRA: u8 = 104
The
CRC_EXTRA seed folded into the checksum of a frame carrying this message.Source§const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
The base fields in wire order as
(type, name, array_len), the input from which
CRC_EXTRA is derived and against which it is verified.Source§const DESCRIPTOR: &'static MessageDescriptor<'static>
const DESCRIPTOR: &'static MessageDescriptor<'static>
The message’s shape as data: the runtime counterpart of this type’s fields, for a
caller reading and writing by name rather than through the struct.
Source§impl PartialEq for GlobalPositionInt
impl PartialEq for GlobalPositionInt
Source§fn eq(&self, other: &GlobalPositionInt) -> bool
fn eq(&self, other: &GlobalPositionInt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GlobalPositionInt
Auto Trait Implementations§
impl Freeze for GlobalPositionInt
impl RefUnwindSafe for GlobalPositionInt
impl Send for GlobalPositionInt
impl Sync for GlobalPositionInt
impl Unpin for GlobalPositionInt
impl UnsafeUnpin for GlobalPositionInt
impl UnwindSafe for GlobalPositionInt
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more