pub struct ExtEventPvtGeodeticBlock {
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,
/* private fields */
}Expand description
ExtEventPVTGeodetic block (Block ID 4038)
External event timing with PVT solution in geodetic coordinates.
Fields§
§time_system: u8§datum: u8§wa_corr_info: u8§reference_id: u16§signal_info: u32§alert_flag: u8§nr_bases: u8Implementations§
Source§impl ExtEventPvtGeodeticBlock
impl ExtEventPvtGeodeticBlock
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 latitude_rad(&self) -> f64
pub fn longitude_rad(&self) -> f64
pub fn height_m(&self) -> Option<f64>
pub fn undulation_m(&self) -> Option<f32>
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 mean_corr_age_seconds(&self) -> Option<f32>
pub fn mean_corr_age_raw(&self) -> u16
Sourcepub fn num_satellites(&self) -> u8
pub fn num_satellites(&self) -> u8
Number of satellites used in the PVT computation.
Returns 0 when the SBF NrSV field is not available (255). Use
Self::num_satellites_opt to distinguish unavailable from a real zero.
Sourcepub fn num_satellites_opt(&self) -> Option<u8>
pub fn num_satellites_opt(&self) -> Option<u8>
Number of satellites used in the PVT computation, or None when unavailable.
Sourcepub fn num_satellites_raw(&self) -> u8
pub fn num_satellites_raw(&self) -> u8
Raw NrSV field from the SBF block.
Trait Implementations§
Source§impl Clone for ExtEventPvtGeodeticBlock
impl Clone for ExtEventPvtGeodeticBlock
Source§fn clone(&self) -> ExtEventPvtGeodeticBlock
fn clone(&self) -> ExtEventPvtGeodeticBlock
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 ExtEventPvtGeodeticBlock
impl Debug for ExtEventPvtGeodeticBlock
Auto Trait Implementations§
impl Freeze for ExtEventPvtGeodeticBlock
impl RefUnwindSafe for ExtEventPvtGeodeticBlock
impl Send for ExtEventPvtGeodeticBlock
impl Sync for ExtEventPvtGeodeticBlock
impl Unpin for ExtEventPvtGeodeticBlock
impl UnsafeUnpin for ExtEventPvtGeodeticBlock
impl UnwindSafe for ExtEventPvtGeodeticBlock
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