pub struct SatelliteMeasurement {
pub sat_id: SatelliteId,
pub signal_type: SignalType,
pub obs_info: u8,
/* private fields */
}Expand description
Processed satellite measurement from MeasEpoch
Fields§
§sat_id: SatelliteIdSatellite ID
signal_type: SignalTypeSignal type
obs_info: u8Observation info flags
Implementations§
Source§impl SatelliteMeasurement
impl SatelliteMeasurement
Sourcepub fn doppler_hz(&self) -> f64
pub fn doppler_hz(&self) -> f64
Get Doppler in Hz (scaled)
Sourcepub fn doppler_raw(&self) -> i32
pub fn doppler_raw(&self) -> i32
Get raw Doppler value
Sourcepub fn lock_time_seconds(&self) -> f64
pub fn lock_time_seconds(&self) -> f64
Get lock time in seconds
Lock time is encoded in seconds and clipped at 65534 seconds.
Sourcepub fn lock_time_raw(&self) -> u16
pub fn lock_time_raw(&self) -> u16
Get raw lock time value
Sourcepub fn half_cycle_resolved(&self) -> bool
pub fn half_cycle_resolved(&self) -> bool
Check if half-cycle ambiguity is resolved.
Per SBF, bit 2 is set when a half-cycle ambiguity is present.
Sourcepub fn smoothing_active(&self) -> bool
pub fn smoothing_active(&self) -> bool
Check if smoothing is active.
Per SBF, bit 0 indicates code smoothing.
Trait Implementations§
Source§impl Clone for SatelliteMeasurement
impl Clone for SatelliteMeasurement
Source§fn clone(&self) -> SatelliteMeasurement
fn clone(&self) -> SatelliteMeasurement
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 moreAuto Trait Implementations§
impl Freeze for SatelliteMeasurement
impl RefUnwindSafe for SatelliteMeasurement
impl Send for SatelliteMeasurement
impl Sync for SatelliteMeasurement
impl Unpin for SatelliteMeasurement
impl UnsafeUnpin for SatelliteMeasurement
impl UnwindSafe for SatelliteMeasurement
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