pub struct NavPvtRef<'a>(/* private fields */);
Expand description
Navigation Position Velocity Time Solution Contains a reference to an underlying buffer, contains accessor methods to retrieve data.
Implementations§
pub fn as_bytes(&self) -> &[u8] ⓘ
sourcepub fn time_accuracy(&self) -> u32
pub fn time_accuracy(&self) -> u32
sourcepub fn nanosecond(&self) -> i32
pub fn nanosecond(&self) -> i32
sourcepub fn fix_type_raw(&self) -> u8
pub fn fix_type_raw(&self) -> u8
GNSS fix Type
sourcepub fn flags(&self) -> NavPvtFlags
pub fn flags(&self) -> NavPvtFlags
sourcepub fn flags2_raw(&self) -> u8
pub fn flags2_raw(&self) -> u8
sourcepub fn flags2(&self) -> NavPvtFlags2
pub fn flags2(&self) -> NavPvtFlags2
sourcepub fn num_satellites(&self) -> u8
pub fn num_satellites(&self) -> u8
sourcepub fn lon_degrees_raw(&self) -> i32
pub fn lon_degrees_raw(&self) -> i32
sourcepub fn lon_degrees(&self) -> f64
pub fn lon_degrees(&self) -> f64
sourcepub fn lat_degrees_raw(&self) -> i32
pub fn lat_degrees_raw(&self) -> i32
sourcepub fn lat_degrees(&self) -> f64
pub fn lat_degrees(&self) -> f64
sourcepub fn height_meters_raw(&self) -> i32
pub fn height_meters_raw(&self) -> i32
Height above Ellipsoid
sourcepub fn height_meters(&self) -> f64
pub fn height_meters(&self) -> f64
Height above Ellipsoid
sourcepub fn height_msl_raw(&self) -> i32
pub fn height_msl_raw(&self) -> i32
Height above mean sea level
sourcepub fn height_msl(&self) -> f64
pub fn height_msl(&self) -> f64
Height above mean sea level
sourcepub fn horiz_accuracy(&self) -> u32
pub fn horiz_accuracy(&self) -> u32
sourcepub fn vert_accuracy(&self) -> u32
pub fn vert_accuracy(&self) -> u32
sourcepub fn vel_north_raw(&self) -> i32
pub fn vel_north_raw(&self) -> i32
north velocity (m/s)
sourcepub fn vel_east_raw(&self) -> i32
pub fn vel_east_raw(&self) -> i32
east velocity (m/s)
sourcepub fn vel_down_raw(&self) -> i32
pub fn vel_down_raw(&self) -> i32
down velocity (m/s)
sourcepub fn ground_speed_raw(&self) -> u32
pub fn ground_speed_raw(&self) -> u32
Ground speed (m/s)
sourcepub fn ground_speed(&self) -> f64
pub fn ground_speed(&self) -> f64
Ground speed (m/s)
sourcepub fn heading_degrees_raw(&self) -> i32
pub fn heading_degrees_raw(&self) -> i32
Heading of motion 2-D (degrees)
sourcepub fn heading_degrees(&self) -> f64
pub fn heading_degrees(&self) -> f64
Heading of motion 2-D (degrees)
sourcepub fn speed_accuracy_estimate_raw(&self) -> u32
pub fn speed_accuracy_estimate_raw(&self) -> u32
Speed Accuracy Estimate (m/s)
sourcepub fn speed_accuracy_estimate(&self) -> f64
pub fn speed_accuracy_estimate(&self) -> f64
Speed Accuracy Estimate (m/s)
sourcepub fn heading_accuracy_estimate_raw(&self) -> u32
pub fn heading_accuracy_estimate_raw(&self) -> u32
Heading accuracy estimate (both motionand vehicle) (degrees)
sourcepub fn heading_accuracy_estimate(&self) -> f64
pub fn heading_accuracy_estimate(&self) -> f64
Heading accuracy estimate (both motionand vehicle) (degrees)
sourcepub fn heading_of_vehicle_degrees_raw(&self) -> i32
pub fn heading_of_vehicle_degrees_raw(&self) -> i32
sourcepub fn heading_of_vehicle_degrees(&self) -> f64
pub fn heading_of_vehicle_degrees(&self) -> f64
sourcepub fn magnetic_declination_degrees_raw(&self) -> i16
pub fn magnetic_declination_degrees_raw(&self) -> i16
sourcepub fn magnetic_declination_degrees(&self) -> f64
pub fn magnetic_declination_degrees(&self) -> f64
sourcepub fn magnetic_declination_accuracy_degrees_raw(&self) -> u16
pub fn magnetic_declination_accuracy_degrees_raw(&self) -> u16
sourcepub fn magnetic_declination_accuracy_degrees(&self) -> f64
pub fn magnetic_declination_accuracy_degrees(&self) -> f64
Trait Implementations§
Auto Trait Implementations§
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