pub struct GpsCNavBlock {Show 37 fields
pub prn: u8,
pub flags: u8,
pub wn: u16,
pub health: u8,
pub ura_ed: i8,
pub t_op: u32,
pub t_oe: u32,
pub a: f64,
pub a_dot: f64,
pub delta_n: f32,
pub delta_n_dot: f32,
pub m_0: f64,
pub e: f64,
pub omega: f64,
pub omega_0: f64,
pub omega_dot: f64,
pub i_0: f64,
pub i_dot: f32,
pub c_is: f32,
pub c_ic: f32,
pub c_rs: f32,
pub c_rc: f32,
pub c_us: f32,
pub c_uc: f32,
pub t_oc: u32,
pub ura_ned0: i8,
pub ura_ned1: u8,
pub ura_ned2: u8,
pub wn_op: u8,
pub a_f2: f32,
pub a_f1: f32,
pub a_f0: f64,
pub t_gd: f32,
pub isc_l1ca: f32,
pub isc_l2c: f32,
pub isc_l5i5: f32,
pub isc_l5q5: f32,
/* private fields */
}Expand description
GPSCNav block (Block ID 4042)
Decoded GPS CNAV navigation data from L2C and/or L5 signals. Contains ephemeris from MT10/11 and clock/ISC corrections from MT30.
Fields§
§prn: u8PRN number (1-32)
flags: u8Flags bit field (alert, integrity, L2C phasing, L2C/L5 used)
wn: u16Week number (13 bits from MT10)
health: u8L1/L2/L5 signal health (3 bits from MT10)
ura_ed: i8Elevation-Dependent accuracy index (URA_ED)
t_op: u32Data predict time of week (seconds)
t_oe: u32Ephemeris reference time (seconds)
a: f64Semi-major axis (m)
a_dot: f64Change rate in semi-major axis (m/s)
delta_n: f32Mean motion difference (semi-circles/s)
delta_n_dot: f32Rate of mean motion difference (semi-circles/s^2)
m_0: f64Mean anomaly at reference time (semi-circles)
e: f64Eccentricity
omega: f64Argument of perigee (semi-circles)
omega_0: f64Right ascension at reference time (semi-circles)
omega_dot: f64Rate of right ascension (semi-circles/s)
i_0: f64Inclination angle at reference time (semi-circles)
i_dot: f32Rate of inclination (semi-circles/s)
c_is: f32Sine harmonic inclination correction (rad)
c_ic: f32Cosine harmonic inclination correction (rad)
c_rs: f32Sine harmonic radius correction (m)
c_rc: f32Cosine harmonic radius correction (m)
c_us: f32Sine harmonic latitude correction (rad)
c_uc: f32Cosine harmonic latitude correction (rad)
t_oc: u32Clock reference time (seconds)
ura_ned0: i8Non-Elevation-Dependent accuracy index 0
ura_ned1: u8Non-Elevation-Dependent accuracy change index
ura_ned2: u8Non-Elevation-Dependent accuracy change rate index
wn_op: u8Week number associated with t_op (modulo 256)
a_f2: f32Clock drift rate (s/s^2)
a_f1: f32Clock drift (s/s)
a_f0: f64Clock bias (s)
t_gd: f32Group delay differential (s)
isc_l1ca: f32Inter-Signal Correction for L1C/A (s)
isc_l2c: f32Inter-Signal Correction for L2C (s)
isc_l5i5: f32Inter-Signal Correction for L5I (s)
isc_l5q5: f32Inter-Signal Correction for L5Q (s)
Implementations§
pub fn tow_seconds(&self) -> f64
pub fn tow_ms(&self) -> u32
pub fn wnc(&self) -> u16
Sourcepub fn is_healthy(&self) -> bool
pub fn is_healthy(&self) -> bool
Check if satellite is healthy
Sourcepub fn group_delay_s(&self) -> Option<f32>
pub fn group_delay_s(&self) -> Option<f32>
Group delay (None if DNU)
Sourcepub fn isc_l1ca_s(&self) -> Option<f32>
pub fn isc_l1ca_s(&self) -> Option<f32>
ISC L1C/A (None if DNU)
Sourcepub fn isc_l5i5_s(&self) -> Option<f32>
pub fn isc_l5i5_s(&self) -> Option<f32>
ISC L5I5 (None if DNU)
Sourcepub fn isc_l5q5_s(&self) -> Option<f32>
pub fn isc_l5q5_s(&self) -> Option<f32>
ISC L5Q5 (None if DNU)
Trait Implementations§
Source§fn clone(&self) -> GpsCNavBlock
fn clone(&self) -> GpsCNavBlock
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more