From 8d813f05d1a5bc0bb81673f1b5df0f893d99617c Mon Sep 17 00:00:00 2001 From: Marc Majoral Date: Mon, 22 Jul 2019 11:47:33 +0200 Subject: [PATCH] updated the calculation of the FPGA integration length variable --- .../tracking/gnuradio_blocks/dll_pll_veml_tracking_fpga.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/algorithms/tracking/gnuradio_blocks/dll_pll_veml_tracking_fpga.cc b/src/algorithms/tracking/gnuradio_blocks/dll_pll_veml_tracking_fpga.cc index 1d139e26e..b4b9770d4 100644 --- a/src/algorithms/tracking/gnuradio_blocks/dll_pll_veml_tracking_fpga.cc +++ b/src/algorithms/tracking/gnuradio_blocks/dll_pll_veml_tracking_fpga.cc @@ -806,8 +806,8 @@ void dll_pll_veml_tracking_fpga::update_tracking_vars() K_blk_samples = T_prn_samples * d_current_fpga_integration_period + d_rem_code_phase_samples; // initially d_rem_code_phase_samples is zero. It is updated at the end of this function int32_t actual_blk_length = static_cast(std::floor(K_blk_samples)); - d_next_integration_length_samples = 2 * actual_blk_length - d_current_integration_length_samples; - + //d_next_integration_length_samples = 2 * actual_blk_length - d_current_integration_length_samples; + d_next_integration_length_samples = actual_blk_length; //################### PLL COMMANDS ################################################# // carrier phase step (NCO phase increment per sample) [rads/sample] d_carrier_phase_step_rad = PI_2 * d_carrier_doppler_hz / trk_parameters.fs_in;