mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-11-24 16:17:22 +00:00
Since v0.0.22, Galileo observables reached RINEX and RTCM only through select_galileo_ephemeris(), which rejects the E5 signal that the solver leaves out. With E5a and E5b enabled, the PVT uses I/NAV and E5b, so the E5a RINEX fields stayed blank and E5a was missing from MSM. Admit that signal when its own F/NAV ephemeris is usable and reports it healthy (or PVT.use_unhealthy_sats is set). The solver still never sees it. With PVT.iono_model=Iono-Free-LC, prange() drops every satellite that lacks either band of its system's pair, so receivers such as Galileo E5a+E5b without E1, or any single-band one, computed no position and wrote no RINEX. Fall back to the broadcast model, with a log warning, when no enabled constellation provides a pair, and log the constellations left out otherwise. The MSM fine pseudorange, phase-range and phase-range-rate fields (DF400, DF401, DF404, DF405, DF406) were computed against a rough value rounded from each signal's own measurement instead of the satellite's DF397 to DF399, so the other signals of a satellite were occasionally decoded 292.77 m or 1 m/s off. DF401/DF406 also moved the phase-range to within one cycle of the rough range at every epoch, which broke its integer continuity. Reference all fine fields to the satellite's rough values and send the phase-range as is, or as invalid beyond 1171 m. Keep RTCM lock times per signal instead of per PRN and band group (GPS L2C/L5 and Galileo E5a/E5b shared one), and restart them on cycle and half-cycle slips and when the PVT block realigns a channel's carrier phase.