pub struct PvtGeodeticBlock {
pub time_system: u8,
pub datum: u8,
pub wa_corr_info: u8,
pub reference_id: u16,
pub signal_info: u32,
pub alert_flag: u8,
pub nr_bases: u8,
pub ppp_info: u16,
/* private fields */
}Expand description
PVTGeodetic_v2 block (Block ID 4007)
Position, velocity, and time in geodetic coordinates.
Fields§
§time_system: u8Time system
datum: u8Datum
wa_corr_info: u8WAAS correction info
reference_id: u16Reference station ID
signal_info: u32Signal usage info
alert_flag: u8Alert flag
nr_bases: u8Number of base stations
ppp_info: u16PPP info
Implementations§
Source§impl PvtGeodeticBlock
impl PvtGeodeticBlock
pub fn tow_seconds(&self) -> f64
pub fn tow_ms(&self) -> u32
pub fn wnc(&self) -> u16
pub fn mode(&self) -> PvtMode
pub fn mode_raw(&self) -> u8
pub fn error(&self) -> PvtError
pub fn error_raw(&self) -> u8
pub fn has_fix(&self) -> bool
pub fn latitude_deg(&self) -> Option<f64>
pub fn longitude_deg(&self) -> Option<f64>
pub fn height_m(&self) -> Option<f64>
pub fn undulation_m(&self) -> Option<f32>
pub fn latitude_rad(&self) -> f64
pub fn longitude_rad(&self) -> f64
pub fn velocity_north_mps(&self) -> Option<f32>
pub fn velocity_east_mps(&self) -> Option<f32>
pub fn velocity_up_mps(&self) -> Option<f32>
pub fn course_over_ground_deg(&self) -> Option<f32>
pub fn clock_bias_ms(&self) -> Option<f64>
pub fn clock_drift_ppm(&self) -> Option<f32>
pub fn num_satellites(&self) -> u8
pub fn h_accuracy_m(&self) -> Option<f32>
pub fn v_accuracy_m(&self) -> Option<f32>
pub fn h_accuracy_raw(&self) -> u16
pub fn v_accuracy_raw(&self) -> u16
pub fn mean_corr_age_seconds(&self) -> Option<f32>
Trait Implementations§
Source§impl Clone for PvtGeodeticBlock
impl Clone for PvtGeodeticBlock
Source§fn clone(&self) -> PvtGeodeticBlock
fn clone(&self) -> PvtGeodeticBlock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PvtGeodeticBlock
impl Debug for PvtGeodeticBlock
Auto Trait Implementations§
impl Freeze for PvtGeodeticBlock
impl RefUnwindSafe for PvtGeodeticBlock
impl Send for PvtGeodeticBlock
impl Sync for PvtGeodeticBlock
impl Unpin for PvtGeodeticBlock
impl UnsafeUnpin for PvtGeodeticBlock
impl UnwindSafe for PvtGeodeticBlock
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