mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-10-19 14:02:37 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user