mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 07:13:03 +00:00 
			
		
		
		
	Improved usage of reserve/resize
This commit is contained in:
		| @@ -87,9 +87,9 @@ pcps_acquisition_fine_doppler_cc::pcps_acquisition_fine_doppler_cc(const Acq_Con | ||||
|     d_max_dwells = conf_.max_dwells; | ||||
|     d_gnuradio_forecast_samples = d_fft_size; | ||||
|     d_state = 0; | ||||
|     d_fft_codes.resize(d_fft_size); | ||||
|     d_magnitude.resize(d_fft_size); | ||||
|     d_10_ms_buffer.resize(50 * d_samples_per_ms); | ||||
|     d_fft_codes.reserve(d_fft_size); | ||||
|     d_magnitude.reserve(d_fft_size); | ||||
|     d_10_ms_buffer.reserve(50 * d_samples_per_ms); | ||||
|     // Direct FFT | ||||
|     d_fft_if = std::make_shared<gr::fft::fft_complex>(d_fft_size, true); | ||||
|  | ||||
| @@ -426,7 +426,7 @@ int pcps_acquisition_fine_doppler_cc::estimate_Doppler() | ||||
|  | ||||
|     // case even | ||||
|     int counter = 0; | ||||
|     auto fftFreqBins = volk_gnsssdr::vector<float>(fft_size_extended); | ||||
|     volk_gnsssdr::vector<float> fftFreqBins(fft_size_extended); | ||||
|  | ||||
|     for (int k = 0; k < (fft_size_extended / 2); k++) | ||||
|         { | ||||
|   | ||||
| @@ -353,7 +353,7 @@ dll_pll_veml_tracking::dll_pll_veml_tracking(const Dll_Pll_Conf &conf_) : gr::bl | ||||
|  | ||||
|     // Initialization of local code replica | ||||
|     // Get space for a vector with the sinboc(1,1) replica sampled 2x/chip | ||||
|     d_tracking_code.resize(2 * d_code_length_chips); | ||||
|     d_tracking_code.resize(2 * d_code_length_chips, 0.0); | ||||
|     // correlator outputs (scalar) | ||||
|     if (d_veml) | ||||
|         { | ||||
| @@ -366,8 +366,8 @@ dll_pll_veml_tracking::dll_pll_veml_tracking(const Dll_Pll_Conf &conf_) : gr::bl | ||||
|             d_n_correlator_taps = 3; | ||||
|         } | ||||
|  | ||||
|     d_correlator_outs.resize(d_n_correlator_taps); | ||||
|     d_local_code_shift_chips.resize(d_n_correlator_taps); | ||||
|     d_correlator_outs.reserve(d_n_correlator_taps); | ||||
|     d_local_code_shift_chips.reserve(d_n_correlator_taps); | ||||
|     // map memory pointers of correlator outputs | ||||
|     if (d_veml) | ||||
|         { | ||||
| @@ -414,7 +414,7 @@ dll_pll_veml_tracking::dll_pll_veml_tracking(const Dll_Pll_Conf &conf_) : gr::bl | ||||
|             // Extra correlator for the data component | ||||
|             correlator_data_cpu.init(2 * trk_parameters.vector_length, 1); | ||||
|             correlator_data_cpu.set_high_dynamics_resampler(trk_parameters.high_dyn); | ||||
|             d_data_code.resize(2 * d_code_length_chips); | ||||
|             d_data_code.resize(2 * d_code_length_chips, 0.0); | ||||
|         } | ||||
|  | ||||
|     // --- Initializations --- | ||||
| @@ -436,13 +436,13 @@ dll_pll_veml_tracking::dll_pll_veml_tracking(const Dll_Pll_Conf &conf_) : gr::bl | ||||
|  | ||||
|     // CN0 estimation and lock detector buffers | ||||
|     d_cn0_estimation_counter = 0; | ||||
|     d_Prompt_buffer = volk_gnsssdr::vector<gr_complex>(trk_parameters.cn0_samples); | ||||
|     d_Prompt_buffer.reserve(trk_parameters.cn0_samples); | ||||
|     d_carrier_lock_test = 1.0; | ||||
|     d_CN0_SNV_dB_Hz = 0.0; | ||||
|     d_carrier_lock_fail_counter = 0; | ||||
|     d_code_lock_fail_counter = 0; | ||||
|     d_carrier_lock_threshold = trk_parameters.carrier_lock_th; | ||||
|     d_Prompt_Data.resize(1); | ||||
|     d_Prompt_Data.reserve(1); | ||||
|     d_cn0_smoother = Exponential_Smoother(); | ||||
|     d_cn0_smoother.set_alpha(trk_parameters.cn0_smoother_alpha); | ||||
|  | ||||
|   | ||||
| @@ -369,7 +369,7 @@ dll_pll_veml_tracking_fpga::dll_pll_veml_tracking_fpga(const Dll_Pll_Conf_Fpga & | ||||
|  | ||||
|     // CN0 estimation and lock detector buffers | ||||
|     d_cn0_estimation_counter = 0; | ||||
|     d_Prompt_buffer = volk_gnsssdr::vector<gr_complex>(trk_parameters.cn0_samples); | ||||
|     d_Prompt_buffer.reserve(trk_parameters.cn0_samples); | ||||
|     d_carrier_lock_test = 1.0; | ||||
|     d_CN0_SNV_dB_Hz = 0.0; | ||||
|     d_carrier_lock_fail_counter = 0; | ||||
|   | ||||
| @@ -117,12 +117,11 @@ Galileo_E1_Tcp_Connector_Tracking_cc::Galileo_E1_Tcp_Connector_Tracking_cc( | ||||
|  | ||||
|     // Initialization of local code replica | ||||
|     // Get space for a vector with the sinboc(1,1) replica sampled 2x/chip | ||||
|     d_ca_code.resize(2 * GALILEO_E1_B_CODE_LENGTH_CHIPS); | ||||
|     d_ca_code.resize(2 * GALILEO_E1_B_CODE_LENGTH_CHIPS, gr_complex(0.0, 0.0)); | ||||
|  | ||||
|     // correlator outputs (scalar) | ||||
|     d_n_correlator_taps = 5;  // Very-Early, Early, Prompt, Late, Very-Late | ||||
|     d_correlator_outs.resize(d_n_correlator_taps); | ||||
|     std::fill_n(d_correlator_outs.begin(), d_n_correlator_taps, gr_complex(0.0, 0.0)); | ||||
|     d_correlator_outs.resize(d_n_correlator_taps, gr_complex(0.0, 0.0)); | ||||
|     // map memory pointers of correlator outputs | ||||
|     d_Very_Early = &d_correlator_outs[0]; | ||||
|     d_Early = &d_correlator_outs[1]; | ||||
| @@ -130,7 +129,7 @@ Galileo_E1_Tcp_Connector_Tracking_cc::Galileo_E1_Tcp_Connector_Tracking_cc( | ||||
|     d_Late = &d_correlator_outs[3]; | ||||
|     d_Very_Late = &d_correlator_outs[4]; | ||||
|  | ||||
|     d_local_code_shift_chips.resize(d_n_correlator_taps); | ||||
|     d_local_code_shift_chips.reserve(d_n_correlator_taps); | ||||
|     // Set TAPs delay values [chips] | ||||
|     d_local_code_shift_chips[0] = -d_very_early_late_spc_chips; | ||||
|     d_local_code_shift_chips[1] = -d_early_late_spc_chips; | ||||
| @@ -161,7 +160,7 @@ Galileo_E1_Tcp_Connector_Tracking_cc::Galileo_E1_Tcp_Connector_Tracking_cc( | ||||
|  | ||||
|     // CN0 estimation and lock detector buffers | ||||
|     d_cn0_estimation_counter = 0; | ||||
|     d_Prompt_buffer.resize(FLAGS_cn0_samples); | ||||
|     d_Prompt_buffer.reserve(FLAGS_cn0_samples); | ||||
|     d_carrier_lock_test = 1; | ||||
|     d_CN0_SNV_dB_Hz = 0; | ||||
|     d_carrier_lock_fail_counter = 0; | ||||
|   | ||||
| @@ -144,14 +144,13 @@ glonass_l1_ca_dll_pll_c_aid_tracking_cc::glonass_l1_ca_dll_pll_c_aid_tracking_cc | ||||
|  | ||||
|     // Initialization of local code replica | ||||
|     // Get space for a vector with the C/A code replica sampled 1x/chip | ||||
|     d_ca_code.resize(static_cast<int32_t>(GLONASS_L1_CA_CODE_LENGTH_CHIPS)); | ||||
|     d_ca_code.resize(static_cast<int32_t>(GLONASS_L1_CA_CODE_LENGTH_CHIPS), gr_complex(0.0, 0.0)); | ||||
|  | ||||
|     // correlator outputs (scalar) | ||||
|     d_n_correlator_taps = 3;  // Early, Prompt, and Late | ||||
|     d_correlator_outs.resize(d_n_correlator_taps); | ||||
|     std::fill_n(d_correlator_outs.begin(), d_n_correlator_taps, gr_complex(0.0, 0.0)); | ||||
|     d_correlator_outs.resize(d_n_correlator_taps, gr_complex(0.0, 0.0)); | ||||
|  | ||||
|     d_local_code_shift_chips.resize(d_n_correlator_taps); | ||||
|     d_local_code_shift_chips.reserve(d_n_correlator_taps); | ||||
|     // Set TAPs delay values [chips] | ||||
|     d_local_code_shift_chips[0] = -d_early_late_spc_chips; | ||||
|     d_local_code_shift_chips[1] = 0.0; | ||||
| @@ -175,7 +174,7 @@ glonass_l1_ca_dll_pll_c_aid_tracking_cc::glonass_l1_ca_dll_pll_c_aid_tracking_cc | ||||
|  | ||||
|     // CN0 estimation and lock detector buffers | ||||
|     d_cn0_estimation_counter = 0; | ||||
|     d_Prompt_buffer.resize(FLAGS_cn0_samples); | ||||
|     d_Prompt_buffer.reserve(FLAGS_cn0_samples); | ||||
|     d_carrier_lock_test = 1; | ||||
|     d_CN0_SNV_dB_Hz = 0; | ||||
|     d_carrier_lock_fail_counter = 0; | ||||
|   | ||||
| @@ -47,7 +47,6 @@ | ||||
| #include <gnuradio/io_signature.h> | ||||
| #include <matio.h> | ||||
| #include <pmt/pmt.h> | ||||
| #include <algorithm> | ||||
| #include <array> | ||||
| #include <cmath> | ||||
| #include <exception> | ||||
| @@ -140,16 +139,15 @@ glonass_l1_ca_dll_pll_c_aid_tracking_sc::glonass_l1_ca_dll_pll_c_aid_tracking_sc | ||||
|  | ||||
|     // Initialization of local code replica | ||||
|     // Get space for a vector with the C/A code replica sampled 1x/chip | ||||
|     d_ca_code.resize(static_cast<int32_t>(GLONASS_L1_CA_CODE_LENGTH_CHIPS)); | ||||
|     d_ca_code_16sc.resize(static_cast<int32_t>(GLONASS_L1_CA_CODE_LENGTH_CHIPS)); | ||||
|     d_ca_code.resize(static_cast<int32_t>(GLONASS_L1_CA_CODE_LENGTH_CHIPS), gr_complex(0.0, 0.0)); | ||||
|     d_ca_code_16sc.reserve(static_cast<int32_t>(GLONASS_L1_CA_CODE_LENGTH_CHIPS)); | ||||
|  | ||||
|     // correlator outputs (scalar) | ||||
|     d_n_correlator_taps = 3;  // Early, Prompt, and Late | ||||
|  | ||||
|     d_correlator_outs_16sc.resize(d_n_correlator_taps); | ||||
|     std::fill_n(d_correlator_outs_16sc.begin(), d_n_correlator_taps, lv_cmake(0, 0)); | ||||
|     d_correlator_outs_16sc.resize(d_n_correlator_taps, lv_cmake(0, 0)); | ||||
|  | ||||
|     d_local_code_shift_chips.resize(d_n_correlator_taps); | ||||
|     d_local_code_shift_chips.reserve(d_n_correlator_taps); | ||||
|     // Set TAPs delay values [chips] | ||||
|     d_local_code_shift_chips[0] = -d_early_late_spc_chips; | ||||
|     d_local_code_shift_chips[1] = 0.0; | ||||
| @@ -173,7 +171,7 @@ glonass_l1_ca_dll_pll_c_aid_tracking_sc::glonass_l1_ca_dll_pll_c_aid_tracking_sc | ||||
|  | ||||
|     // CN0 estimation and lock detector buffers | ||||
|     d_cn0_estimation_counter = 0; | ||||
|     d_Prompt_buffer.resize(FLAGS_cn0_samples); | ||||
|     d_Prompt_buffer.reserve(FLAGS_cn0_samples); | ||||
|     d_carrier_lock_test = 1; | ||||
|     d_CN0_SNV_dB_Hz = 0; | ||||
|     d_carrier_lock_fail_counter = 0; | ||||
|   | ||||
| @@ -110,14 +110,13 @@ Glonass_L1_Ca_Dll_Pll_Tracking_cc::Glonass_L1_Ca_Dll_Pll_Tracking_cc( | ||||
|  | ||||
|     // Initialization of local code replica | ||||
|     // Get space for a vector with the C/A code replica sampled 1x/chip | ||||
|     d_ca_code.resize(static_cast<int32_t>(GLONASS_L1_CA_CODE_LENGTH_CHIPS)); | ||||
|     d_ca_code.resize(static_cast<int32_t>(GLONASS_L1_CA_CODE_LENGTH_CHIPS), gr_complex(0.0, 0.0)); | ||||
|  | ||||
|     // correlator outputs (scalar) | ||||
|     d_n_correlator_taps = 3;  // Early, Prompt, and Late | ||||
|     d_correlator_outs.resize(d_n_correlator_taps); | ||||
|     std::fill_n(d_correlator_outs.begin(), d_n_correlator_taps, gr_complex(0.0, 0.0)); | ||||
|     d_correlator_outs.resize(d_n_correlator_taps, gr_complex(0.0, 0.0)); | ||||
|  | ||||
|     d_local_code_shift_chips.resize(d_n_correlator_taps); | ||||
|     d_local_code_shift_chips.reserve(d_n_correlator_taps); | ||||
|     // Set TAPs delay values [chips] | ||||
|     d_local_code_shift_chips[0] = -d_early_late_spc_chips; | ||||
|     d_local_code_shift_chips[1] = 0.0; | ||||
| @@ -143,7 +142,7 @@ Glonass_L1_Ca_Dll_Pll_Tracking_cc::Glonass_L1_Ca_Dll_Pll_Tracking_cc( | ||||
|  | ||||
|     // CN0 estimation and lock detector buffers | ||||
|     d_cn0_estimation_counter = 0; | ||||
|     d_Prompt_buffer.resize(FLAGS_cn0_samples); | ||||
|     d_Prompt_buffer.reserve(FLAGS_cn0_samples); | ||||
|     d_carrier_lock_test = 1; | ||||
|     d_CN0_SNV_dB_Hz = 0; | ||||
|     d_carrier_lock_fail_counter = 0; | ||||
|   | ||||
| @@ -140,14 +140,13 @@ glonass_l2_ca_dll_pll_c_aid_tracking_cc::glonass_l2_ca_dll_pll_c_aid_tracking_cc | ||||
|  | ||||
|     // Initialization of local code replica | ||||
|     // Get space for a vector with the C/A code replica sampled 1x/chip | ||||
|     d_ca_code.resize(static_cast<int32_t>(GLONASS_L2_CA_CODE_LENGTH_CHIPS)); | ||||
|     d_ca_code.resize(static_cast<int32_t>(GLONASS_L2_CA_CODE_LENGTH_CHIPS), gr_complex(0.0, 0.0)); | ||||
|  | ||||
|     // correlator outputs (scalar) | ||||
|     d_n_correlator_taps = 3;  // Early, Prompt, and Late | ||||
|     d_correlator_outs.resize(d_n_correlator_taps); | ||||
|     std::fill_n(d_correlator_outs.begin(), d_n_correlator_taps, gr_complex(0.0, 0.0)); | ||||
|     d_correlator_outs.resize(d_n_correlator_taps, gr_complex(0.0, 0.0)); | ||||
|  | ||||
|     d_local_code_shift_chips.resize(d_n_correlator_taps); | ||||
|     d_local_code_shift_chips.reserve(d_n_correlator_taps); | ||||
|     // Set TAPs delay values [chips] | ||||
|     d_local_code_shift_chips[0] = -d_early_late_spc_chips; | ||||
|     d_local_code_shift_chips[1] = 0.0; | ||||
| @@ -171,7 +170,7 @@ glonass_l2_ca_dll_pll_c_aid_tracking_cc::glonass_l2_ca_dll_pll_c_aid_tracking_cc | ||||
|  | ||||
|     // CN0 estimation and lock detector buffers | ||||
|     d_cn0_estimation_counter = 0; | ||||
|     d_Prompt_buffer.resize(FLAGS_cn0_samples); | ||||
|     d_Prompt_buffer.reserve(FLAGS_cn0_samples); | ||||
|     d_carrier_lock_test = 1; | ||||
|     d_CN0_SNV_dB_Hz = 0; | ||||
|     d_carrier_lock_fail_counter = 0; | ||||
|   | ||||
| @@ -45,7 +45,6 @@ | ||||
| #include <gnuradio/io_signature.h> | ||||
| #include <matio.h> | ||||
| #include <pmt/pmt.h> | ||||
| #include <algorithm> | ||||
| #include <array> | ||||
| #include <cmath> | ||||
| #include <exception> | ||||
| @@ -138,16 +137,15 @@ glonass_l2_ca_dll_pll_c_aid_tracking_sc::glonass_l2_ca_dll_pll_c_aid_tracking_sc | ||||
|  | ||||
|     // Initialization of local code replica | ||||
|     // Get space for a vector with the C/A code replica sampled 1x/chip | ||||
|     d_ca_code.resize(static_cast<int32_t>(GLONASS_L2_CA_CODE_LENGTH_CHIPS)); | ||||
|     d_ca_code_16sc.resize(static_cast<int32_t>(GLONASS_L2_CA_CODE_LENGTH_CHIPS)); | ||||
|     d_ca_code.resize(static_cast<int32_t>(GLONASS_L2_CA_CODE_LENGTH_CHIPS), gr_complex(0.0, 0.0)); | ||||
|     d_ca_code_16sc.reserve(static_cast<int32_t>(GLONASS_L2_CA_CODE_LENGTH_CHIPS)); | ||||
|  | ||||
|     // correlator outputs (scalar) | ||||
|     d_n_correlator_taps = 3;  // Early, Prompt, and Late | ||||
|  | ||||
|     d_correlator_outs_16sc.resize(d_n_correlator_taps); | ||||
|     std::fill_n(d_correlator_outs_16sc.begin(), d_n_correlator_taps, lv_cmake(0, 0)); | ||||
|     d_correlator_outs_16sc.resize(d_n_correlator_taps, lv_cmake(0, 0)); | ||||
|  | ||||
|     d_local_code_shift_chips.resize(d_n_correlator_taps); | ||||
|     d_local_code_shift_chips.reserve(d_n_correlator_taps); | ||||
|     // Set TAPs delay values [chips] | ||||
|     d_local_code_shift_chips[0] = -d_early_late_spc_chips; | ||||
|     d_local_code_shift_chips[1] = 0.0; | ||||
| @@ -171,7 +169,7 @@ glonass_l2_ca_dll_pll_c_aid_tracking_sc::glonass_l2_ca_dll_pll_c_aid_tracking_sc | ||||
|  | ||||
|     // CN0 estimation and lock detector buffers | ||||
|     d_cn0_estimation_counter = 0; | ||||
|     d_Prompt_buffer.resize(FLAGS_cn0_samples); | ||||
|     d_Prompt_buffer.reserve(FLAGS_cn0_samples); | ||||
|     d_carrier_lock_test = 1; | ||||
|     d_CN0_SNV_dB_Hz = 0; | ||||
|     d_carrier_lock_fail_counter = 0; | ||||
|   | ||||
| @@ -111,14 +111,13 @@ Glonass_L2_Ca_Dll_Pll_Tracking_cc::Glonass_L2_Ca_Dll_Pll_Tracking_cc( | ||||
|  | ||||
|     // Initialization of local code replica | ||||
|     // Get space for a vector with the C/A code replica sampled 1x/chip | ||||
|     d_ca_code.resize(static_cast<int32_t>(GLONASS_L2_CA_CODE_LENGTH_CHIPS)); | ||||
|     d_ca_code.resize(static_cast<int32_t>(GLONASS_L2_CA_CODE_LENGTH_CHIPS), gr_complex(0.0, 0.0)); | ||||
|  | ||||
|     // correlator outputs (scalar) | ||||
|     d_n_correlator_taps = 3;  // Early, Prompt, and Late | ||||
|     d_correlator_outs.resize(d_n_correlator_taps); | ||||
|     std::fill_n(d_correlator_outs.begin(), d_n_correlator_taps, gr_complex(0.0, 0.0)); | ||||
|     d_correlator_outs.resize(d_n_correlator_taps, gr_complex(0.0, 0.0)); | ||||
|  | ||||
|     d_local_code_shift_chips.resize(d_n_correlator_taps); | ||||
|     d_local_code_shift_chips.reserve(d_n_correlator_taps); | ||||
|     // Set TAPs delay values [chips] | ||||
|     d_local_code_shift_chips[0] = -d_early_late_spc_chips; | ||||
|     d_local_code_shift_chips[1] = 0.0; | ||||
| @@ -144,7 +143,7 @@ Glonass_L2_Ca_Dll_Pll_Tracking_cc::Glonass_L2_Ca_Dll_Pll_Tracking_cc( | ||||
|  | ||||
|     // CN0 estimation and lock detector buffers | ||||
|     d_cn0_estimation_counter = 0; | ||||
|     d_Prompt_buffer.resize(FLAGS_cn0_samples); | ||||
|     d_Prompt_buffer.reserve(FLAGS_cn0_samples); | ||||
|     d_carrier_lock_test = 1; | ||||
|     d_CN0_SNV_dB_Hz = 0; | ||||
|     d_carrier_lock_fail_counter = 0; | ||||
|   | ||||
| @@ -132,10 +132,9 @@ Gps_L1_Ca_Kf_Tracking_cc::Gps_L1_Ca_Kf_Tracking_cc( | ||||
|  | ||||
|     // correlator outputs (scalar) | ||||
|     d_n_correlator_taps = 3;  // Early, Prompt, and Late | ||||
|     d_correlator_outs.resize(d_n_correlator_taps); | ||||
|     std::fill_n(d_correlator_outs.begin(), d_n_correlator_taps, gr_complex(0.0, 0.0)); | ||||
|     d_correlator_outs.resize(d_n_correlator_taps, gr_complex(0.0, 0.0)); | ||||
|  | ||||
|     d_local_code_shift_chips.resize(d_n_correlator_taps); | ||||
|     d_local_code_shift_chips.reserve(d_n_correlator_taps); | ||||
|     // Set TAPs delay values [chips] | ||||
|     d_local_code_shift_chips[0] = -d_early_late_spc_chips; | ||||
|     d_local_code_shift_chips[1] = 0.0; | ||||
| @@ -162,7 +161,7 @@ Gps_L1_Ca_Kf_Tracking_cc::Gps_L1_Ca_Kf_Tracking_cc( | ||||
|  | ||||
|     // CN0 estimation and lock detector buffers | ||||
|     d_cn0_estimation_counter = 0; | ||||
|     d_Prompt_buffer.resize(FLAGS_cn0_samples); | ||||
|     d_Prompt_buffer.reserve(FLAGS_cn0_samples); | ||||
|     d_carrier_lock_test = 1; | ||||
|     d_CN0_SNV_dB_Hz = 0; | ||||
|     d_carrier_lock_fail_counter = 0; | ||||
|   | ||||
| @@ -116,7 +116,7 @@ Gps_L1_Ca_Tcp_Connector_Tracking_cc::Gps_L1_Ca_Tcp_Connector_Tracking_cc( | ||||
|     d_Prompt = &d_correlator_outs[1]; | ||||
|     d_Late = &d_correlator_outs[2]; | ||||
|  | ||||
|     d_local_code_shift_chips.resize(d_n_correlator_taps); | ||||
|     d_local_code_shift_chips.reserve(d_n_correlator_taps); | ||||
|     // Set TAPs delay values [chips] | ||||
|     d_local_code_shift_chips[0] = -d_early_late_spc_chips; | ||||
|     d_local_code_shift_chips[1] = 0.0; | ||||
| @@ -146,7 +146,7 @@ Gps_L1_Ca_Tcp_Connector_Tracking_cc::Gps_L1_Ca_Tcp_Connector_Tracking_cc( | ||||
|  | ||||
|     // CN0 estimation and lock detector buffers | ||||
|     d_cn0_estimation_counter = 0; | ||||
|     d_Prompt_buffer.resize(FLAGS_cn0_samples); | ||||
|     d_Prompt_buffer.reserve(FLAGS_cn0_samples); | ||||
|     d_carrier_lock_test = 1; | ||||
|     d_CN0_SNV_dB_Hz = 0; | ||||
|     d_carrier_lock_fail_counter = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez