pub struct GpsRawInt {}Expand description
A decoded GPS_RAW_INT message.
Fields§
§time_usec: u64Timestamp, microseconds since UNIX epoch (0 if unknown).
fix_type: u8GPS fix type.
lat: i32Latitude in WGS84, degrees * 1e7.
lon: i32Longitude in WGS84, degrees * 1e7.
alt: i32Altitude (MSL), millimeters.
eph: u16GPS horizontal dilution of precision (u16::MAX if unknown).
epv: u16GPS vertical dilution of precision (u16::MAX if unknown).
vel: u16GPS ground speed, cm/s (u16::MAX if unknown).
cog: u16Course over ground, centidegrees (u16::MAX if unknown).
satellites_visible: u8Number of visible satellites (u8::MAX if unknown).
alt_ellipsoid: i32Altitude above WGS84 ellipsoid, millimeters.
h_acc: u32Position uncertainty, millimeters.
v_acc: u32Altitude uncertainty, millimeters.
vel_acc: u32Speed uncertainty, mm/s.
hdg_acc: u32Heading/track uncertainty, degrees * 1e5.
yaw: u16Yaw in earth frame, centidegrees (0 if unknown, angle wraps to
36000 rather than reaching 0).
Trait Implementations§
impl Copy for GpsRawInt
impl Eq for GpsRawInt
impl StructuralPartialEq for GpsRawInt
Auto Trait Implementations§
impl Freeze for GpsRawInt
impl RefUnwindSafe for GpsRawInt
impl Send for GpsRawInt
impl Sync for GpsRawInt
impl Unpin for GpsRawInt
impl UnsafeUnpin for GpsRawInt
impl UnwindSafe for GpsRawInt
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