mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-11-29 02:23:16 +00:00
On a signal tracked on its pilot, the DLL/PLL tracks the carrier with a Costas loop until it acquires the pilot's secondary code, then switches to a four-quadrant PLL on the wiped-off pilot. When the Costas loop holds the opposite sign to the one that PLL locks to, the PLL pulls the carrier by half a cycle, so the prompt correlator output changes sign a few seconds into the track (about 6 s for Galileo E1 with the default 5 s pull-in). Tracking_XX.keep_phase_at_secondary_lock=true makes the PLL take the wiped-off pilot with the sign found at the secondary code lock, so the carrier keeps the phase the Costas loop held and the 180-degree ambiguity is left to the telemetry decoder. The default is false, which keeps the current behaviour. Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>