Struct GnssChannel¶
Defined in File gnss_measurement.h
Struct Documentation¶
-
struct GnssChannel¶
Public Functions
-
Real Wavelength() const¶
Carrier wavelength
c / ffor this channel’s GNSS frequency.Used by GnssMeasurement::ComputeValue/Compute to convert between range and Doppler/carrier-phase (cycles), and by GNSSMeasurements to convert the FLL/PLL range-rate and phase noise sigmas into
sigma_doppler_hz/sigma_carrier_phase_cycles.- Returns:
Wavelength [m]; throws if
frequencyis not inGNSS_FREQ_MAP
-
bool HasEphemeris() const¶
True if this channel carries a transmitter ephemeris (either a fitted Chebyshev model or a sampled state history) usable by GetTransmitState(), as opposed to only the single
tx_statesnapshot.
-
Vec6 GetTransmitState(Real t) const¶
Evaluate the transmitter (e.g. GNSS satellite) position/velocity state at epoch
t.Used by GnssMeasurement::ComputeValue/Compute (via ResolveTransmitState) to get the transmitter state at the resolved transmit epoch when re-solving light time from the precomputed channel ephemeris. Falls back to the stored
tx_statesnapshot if HasEphemeris() is false.- Parameters:
t – Evaluation epoch, in
ephemeris_time_scale[s]- Returns:
Transmitter Cartesian state
[r; v][m, m/s] inframe
-
Real EffectiveTransmitClockBiasSeconds() const¶
Total transmitter clock bias to apply to the pseudorange, combining the raw clock bias, the special-relativistic periodic correction, and the broadcast group delay:
tx_clock_bias_s + / relativistic_correction_s - group_delay_s./ EffectiveTransmitClockBiasSeconds()`, the transmitter-side clock term subtracted from the pseudorange/carrier-phase observables.Used by GnssMeasurement::ComputeValue to compute `tx_bias_m = C *
- Returns:
Effective transmitter clock bias [s]
-
Real EffectiveTransmitClockDrift() const¶
Transmitter clock drift used for the Doppler/range-rate clock term (currently just
tx_clock_drift).- Returns:
Effective transmitter clock drift [s/s]
-
Real Wavelength() const¶