mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-10-21 06:52:37 +00:00
Follow-up to the galileo-navtype-fallback merge. The original fallback let E5a/E5b/E6 observations use the other service's ephemeris, but the BGD index for those signals is fixed by frequency, so an E5a range modeled with an I/NAV clock would be off by BGD(E1,E5a) - BGD(E1,E5b). Only E1 selects its BGD from the ephemeris clock model, so only E1 may fall back. Drop the per-PRN locked set: I/NAV and F/NAV carry the same IODnav/toe, so they expire together, and an E1 switch between services costs only BGD quantization. select_galileo_ephemeris() is const again and simply prefers the primary service while its ephemeris is fresh. Also normalize a legacy Unknown provenance to the primary service on the returned ephemeris, and allow E1 Reduced CED in F/NAV-primary receivers.