From fc6fdc277c646209565897152cf4ef1ac789c28f Mon Sep 17 00:00:00 2001 From: Javier Arribas Date: Mon, 11 Apr 2016 10:46:56 +0200 Subject: [PATCH] Fix incorrect correlator local code length in Galileo E5a tracking --- .../gnuradio_blocks/galileo_e5a_dll_pll_tracking_cc.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/algorithms/tracking/gnuradio_blocks/galileo_e5a_dll_pll_tracking_cc.cc b/src/algorithms/tracking/gnuradio_blocks/galileo_e5a_dll_pll_tracking_cc.cc index 668c4b8fc..b15d9c7bc 100644 --- a/src/algorithms/tracking/gnuradio_blocks/galileo_e5a_dll_pll_tracking_cc.cc +++ b/src/algorithms/tracking/gnuradio_blocks/galileo_e5a_dll_pll_tracking_cc.cc @@ -404,7 +404,7 @@ int Galileo_E5a_Dll_Pll_Tracking_cc::general_work (int noutput_items __attribute d_Late = gr_complex(0,0); d_Prompt_data = gr_complex(0,0); current_synchro_data.Tracking_timestamp_secs = static_cast(d_sample_counter) / static_cast(d_fs_in); - *out[0] = *d_acquisition_gnss_synchro; + *out[0] = current_synchro_data; break; } @@ -468,8 +468,8 @@ int Galileo_E5a_Dll_Pll_Tracking_cc::general_work (int noutput_items __attribute // perform carrier wipe-off and compute Early, Prompt and Late // correlation of 1 primary code - multicorrelator_cpu_Q.set_local_code_and_taps(d_current_prn_length_samples, d_codeQ, d_local_code_shift_chips); - multicorrelator_cpu_I.set_local_code_and_taps(d_current_prn_length_samples, d_codeI, &d_local_code_shift_chips[1]); + multicorrelator_cpu_Q.set_local_code_and_taps(Galileo_E5a_CODE_LENGTH_CHIPS, d_codeQ, d_local_code_shift_chips); + multicorrelator_cpu_I.set_local_code_and_taps(Galileo_E5a_CODE_LENGTH_CHIPS, d_codeI, &d_local_code_shift_chips[1]); // ################# CARRIER WIPEOFF AND CORRELATORS ##############################