pub struct BdsCNav1Block {Show 35 fields
pub prn_idx: u8,
pub flags: u8,
pub t_oe: u32,
pub a: f64,
pub a_dot: f64,
pub delta_n0: f32,
pub delta_n0_dot: f32,
pub m_0: f64,
pub e: f64,
pub omega: f64,
pub omega_0: f64,
pub omega_dot: f32,
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 a_2: f32,
pub a_1: f32,
pub a_0: f64,
pub t_op: u32,
pub sisai_ocb: u8,
pub sisai_oc12: u8,
pub sisai_oe: u8,
pub sismai: u8,
pub health_if: u8,
pub iode: u8,
pub iodc: u16,
pub isc_b1cd: f32,
pub t_gd_b1cp: f32,
pub t_gd_b2ap: f32,
/* private fields */
}Expand description
BDSCNav1 block (Block ID 4251)
BeiDou B-CNAV1 navigation data from B1C signal.
Fields§
§prn_idx: u8PRN index within BeiDou constellation (1 for C01, etc.)
flags: u8Flags: bits 0-1 = satellite type (1: GEO, 2: IGSO, 3: MEO)
t_oe: u32Ephemeris reference time (seconds)
a: f64Semi-major axis (m)
a_dot: f64Change rate in semi-major axis (m/s)
delta_n0: f32Mean motion difference (semi-circles/s)
delta_n0_dot: f32Rate of mean motion difference (semi-circles/s^2)
m_0: f64Mean anomaly (semi-circles)
e: f64Eccentricity
omega: f64Argument of perigee (semi-circles)
omega_0: f64Longitude of ascending node (semi-circles)
omega_dot: f32Rate of right ascension (semi-circles/s)
i_0: f64Inclination angle (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)
a_2: f32Clock drift rate (s/s^2)
a_1: f32Clock drift (s/s)
a_0: f64Clock bias (s)
t_op: u32Time of week for data prediction (seconds)
sisai_ocb: u8Satellite orbit radius and clock bias accuracy index
sisai_oc12: u8Combined SISAI_oc1 and SISAI_oc2 (bits 0-2: oc2, bits 3-5: oc1)
sisai_oe: u8Satellite orbit along-track and cross-track accuracy index
sismai: u8Signal in space monitoring accuracy index
health_if: u8Health and integrity flags
iode: u8Issue of Data Ephemeris
iodc: u16Issue of Data Clock
isc_b1cd: f32Group delay between B1C data and pilot (s)
t_gd_b1cp: f32Group delay of B1C pilot (s)
t_gd_b2ap: f32Group delay of B2a pilot (s)
Implementations§
pub fn tow_seconds(&self) -> f64
pub fn tow_ms(&self) -> u32
pub fn wnc(&self) -> u16
Sourcepub fn satellite_type(&self) -> u8
pub fn satellite_type(&self) -> u8
Get satellite type (1: GEO, 2: IGSO, 3: MEO)
Sourcepub fn is_healthy(&self) -> bool
pub fn is_healthy(&self) -> bool
Check if satellite is healthy (bits 6-7 of health_if == 0)
Sourcepub fn isc_b1cd_s(&self) -> Option<f32>
pub fn isc_b1cd_s(&self) -> Option<f32>
ISC B1Cd (None if DNU)
Sourcepub fn t_gd_b1cp_s(&self) -> Option<f32>
pub fn t_gd_b1cp_s(&self) -> Option<f32>
T_GD B1Cp (None if DNU)
Sourcepub fn t_gd_b2ap_s(&self) -> Option<f32>
pub fn t_gd_b2ap_s(&self) -> Option<f32>
T_GD B2ap (None if DNU)
Trait Implementations§
Source§fn clone(&self) -> BdsCNav1Block
fn clone(&self) -> BdsCNav1Block
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more