Merge branch 'flag_PLL_180_deg_phase_locked' of https://github.com/mmajoral/gnss-sdr into mmajoral-flag_PLL_180_deg_phase_locked

This commit is contained in:
Carles Fernandez
2021-09-29 09:06:03 +02:00
7 changed files with 31 additions and 4 deletions
@@ -1032,6 +1032,11 @@ int galileo_telemetry_decoder_gs::general_work(int noutput_items __attribute__((
{
// correct the accumulated phase for the Costas loop phase shift, if required
current_symbol.Carrier_phase_rads += GNSS_PI;
current_symbol.Flag_PLL_180_deg_phase_locked = true;
}
else
{
current_symbol.Flag_PLL_180_deg_phase_locked = false;
}
if (d_dump == true)
@@ -574,6 +574,11 @@ int gps_l1_ca_telemetry_decoder_gs::general_work(int noutput_items __attribute__
{
// correct the accumulated phase for the Costas loop phase shift, if required
current_symbol.Carrier_phase_rads += GNSS_PI;
current_symbol.Flag_PLL_180_deg_phase_locked = true;
}
else
{
current_symbol.Flag_PLL_180_deg_phase_locked = false;
}
if (d_dump == true)
@@ -311,6 +311,11 @@ int gps_l2c_telemetry_decoder_gs::general_work(int noutput_items __attribute__((
{
// correct the accumulated phase for the Costas loop phase shift, if required
current_synchro_data.Carrier_phase_rads += GNSS_PI;
current_synchro_data.Flag_PLL_180_deg_phase_locked = true;
}
else
{
current_synchro_data.Flag_PLL_180_deg_phase_locked = false;
}
current_synchro_data.TOW_at_current_symbol_ms = round(d_TOW_at_current_symbol * 1000.0);
@@ -325,6 +325,11 @@ int gps_l5_telemetry_decoder_gs::general_work(int noutput_items __attribute__((u
{
// correct the accumulated phase for the Costas loop phase shift, if required
current_synchro_data.Carrier_phase_rads += GNSS_PI;
current_synchro_data.Flag_PLL_180_deg_phase_locked = true;
}
else
{
current_synchro_data.Flag_PLL_180_deg_phase_locked = false;
}
current_synchro_data.TOW_at_current_symbol_ms = d_TOW_at_current_symbol_ms;
current_synchro_data.Flag_valid_word = d_flag_valid_word;