mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 07:13:03 +00:00 
			
		
		
		
	Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
This commit is contained in:
		| @@ -256,10 +256,10 @@ GalileoE1DllPllVemlTrackingFpga::GalileoE1DllPllVemlTrackingFpga( | |||||||
|     trk_param_fpga.fpga_integration_period = 1;          // (number of symbols that are effectively integrated in the FPGA) |     trk_param_fpga.fpga_integration_period = 1;          // (number of symbols that are effectively integrated in the FPGA) | ||||||
|  |  | ||||||
|     //tracking lock tests smoother parameters |     //tracking lock tests smoother parameters | ||||||
|     trk_param.cn0_smoother_samples = configuration->property(role + ".cn0_smoother_samples", trk_param.cn0_smoother_samples); |     trk_param_fpga.cn0_smoother_samples = configuration->property(role + ".cn0_smoother_samples", trk_param_fpga.cn0_smoother_samples); | ||||||
|     trk_param.cn0_smoother_alpha = configuration->property(role + ".cn0_smoother_alpha", trk_param.cn0_smoother_alpha); |     trk_param_fpga.cn0_smoother_alpha = configuration->property(role + ".cn0_smoother_alpha", trk_param_fpga.cn0_smoother_alpha); | ||||||
|     trk_param.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param.carrier_lock_test_smoother_samples); |     trk_param_fpga.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param_fpga.carrier_lock_test_smoother_samples); | ||||||
|     trk_param.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param.carrier_lock_test_smoother_alpha); |     trk_param_fpga.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param_fpga.carrier_lock_test_smoother_alpha); | ||||||
|  |  | ||||||
|  |  | ||||||
|     //################# MAKE TRACKING GNURadio object ################### |     //################# MAKE TRACKING GNURadio object ################### | ||||||
|   | |||||||
| @@ -263,10 +263,10 @@ GalileoE5aDllPllTrackingFpga::GalileoE5aDllPllTrackingFpga( | |||||||
|         } |         } | ||||||
|  |  | ||||||
|     //tracking lock tests smoother parameters |     //tracking lock tests smoother parameters | ||||||
|     trk_param.cn0_smoother_samples = configuration->property(role + ".cn0_smoother_samples", trk_param.cn0_smoother_samples); |     trk_param_fpga.cn0_smoother_samples = configuration->property(role + ".cn0_smoother_samples", trk_param_fpga.cn0_smoother_samples); | ||||||
|     trk_param.cn0_smoother_alpha = configuration->property(role + ".cn0_smoother_alpha", trk_param.cn0_smoother_alpha); |     trk_param_fpga.cn0_smoother_alpha = configuration->property(role + ".cn0_smoother_alpha", trk_param_fpga.cn0_smoother_alpha); | ||||||
|     trk_param.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param.carrier_lock_test_smoother_samples); |     trk_param_fpga.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param_fpga.carrier_lock_test_smoother_samples); | ||||||
|     trk_param.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param.carrier_lock_test_smoother_alpha); |     trk_param_fpga.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param_fpga.carrier_lock_test_smoother_alpha); | ||||||
|  |  | ||||||
|  |  | ||||||
|     // ################# MAKE TRACKING GNURadio object ################### |     // ################# MAKE TRACKING GNURadio object ################### | ||||||
|   | |||||||
| @@ -217,10 +217,10 @@ GpsL1CaDllPllTrackingFpga::GpsL1CaDllPllTrackingFpga( | |||||||
|         } |         } | ||||||
|  |  | ||||||
|     //tracking lock tests smoother parameters |     //tracking lock tests smoother parameters | ||||||
|     trk_param.cn0_smoother_samples = configuration->property(role + ".cn0_smoother_samples", trk_param.cn0_smoother_samples); |     trk_param_fpga.cn0_smoother_samples = configuration->property(role + ".cn0_smoother_samples", trk_param_fpga.cn0_smoother_samples); | ||||||
|     trk_param.cn0_smoother_alpha = configuration->property(role + ".cn0_smoother_alpha", trk_param.cn0_smoother_alpha); |     trk_param_fpga.cn0_smoother_alpha = configuration->property(role + ".cn0_smoother_alpha", trk_param_fpga.cn0_smoother_alpha); | ||||||
|     trk_param.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param.carrier_lock_test_smoother_samples); |     trk_param_fpga.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param_fpga.carrier_lock_test_smoother_samples); | ||||||
|     trk_param.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param.carrier_lock_test_smoother_alpha); |     trk_param_fpga.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param_fpga.carrier_lock_test_smoother_alpha); | ||||||
|  |  | ||||||
|  |  | ||||||
|     // ################# MAKE TRACKING GNURadio object ################### |     // ################# MAKE TRACKING GNURadio object ################### | ||||||
|   | |||||||
| @@ -287,10 +287,10 @@ GpsL5DllPllTrackingFpga::GpsL5DllPllTrackingFpga( | |||||||
|         } |         } | ||||||
|  |  | ||||||
|     //tracking lock tests smoother parameters |     //tracking lock tests smoother parameters | ||||||
|     trk_param.cn0_smoother_samples = configuration->property(role + ".cn0_smoother_samples", trk_param.cn0_smoother_samples); |     trk_param_fpga.cn0_smoother_samples = configuration->property(role + ".cn0_smoother_samples", trk_param_fpga.cn0_smoother_samples); | ||||||
|     trk_param.cn0_smoother_alpha = configuration->property(role + ".cn0_smoother_alpha", trk_param.cn0_smoother_alpha); |     trk_param_fpga.cn0_smoother_alpha = configuration->property(role + ".cn0_smoother_alpha", trk_param_fpga.cn0_smoother_alpha); | ||||||
|     trk_param.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param.carrier_lock_test_smoother_samples); |     trk_param_fpga.carrier_lock_test_smoother_samples = configuration->property(role + ".carrier_lock_test_smoother_samples", trk_param_fpga.carrier_lock_test_smoother_samples); | ||||||
|     trk_param.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param.carrier_lock_test_smoother_alpha); |     trk_param_fpga.carrier_lock_test_smoother_alpha = configuration->property(role + ".carrier_lock_test_smoother_alpha", trk_param_fpga.carrier_lock_test_smoother_alpha); | ||||||
|  |  | ||||||
|     // ################# MAKE TRACKING GNURadio object ################### |     // ################# MAKE TRACKING GNURadio object ################### | ||||||
|     tracking_fpga_sc = dll_pll_veml_make_tracking_fpga(trk_param_fpga); |     tracking_fpga_sc = dll_pll_veml_make_tracking_fpga(trk_param_fpga); | ||||||
|   | |||||||
| @@ -600,11 +600,12 @@ bool dll_pll_veml_tracking_fpga::cn0_and_tracking_lock_status(double coh_integra | |||||||
|     if (d_cn0_estimation_counter < trk_parameters.cn0_samples) |     if (d_cn0_estimation_counter < trk_parameters.cn0_samples) | ||||||
|         { |         { | ||||||
|             // fill buffer with prompt correlator output values |             // fill buffer with prompt correlator output values | ||||||
|             d_Prompt_buffer[d_cn0_estimation_counter++] = d_P_accu; |             d_Prompt_buffer[d_cn0_estimation_counter] = d_P_accu; | ||||||
|  |             d_cn0_estimation_counter++; | ||||||
|             return true; |             return true; | ||||||
|         } |         } | ||||||
|     d_cn0_estimation_counter = 0; |     d_Prompt_buffer[d_cn0_estimation_counter % trk_parameters.cn0_samples] = d_P_accu; | ||||||
|     d_Prompt_buffer[d_cn0_estimation_counter++] = d_P_accu; |     d_cn0_estimation_counter++; | ||||||
|     // Code lock indicator |     // Code lock indicator | ||||||
|     float d_CN0_SNV_dB_Hz_raw = cn0_svn_estimator(d_Prompt_buffer.data(), trk_parameters.cn0_samples, static_cast<float>(coh_integration_time_s)); |     float d_CN0_SNV_dB_Hz_raw = cn0_svn_estimator(d_Prompt_buffer.data(), trk_parameters.cn0_samples, static_cast<float>(coh_integration_time_s)); | ||||||
|     d_CN0_SNV_dB_Hz = d_cn0_smoother.smooth(d_CN0_SNV_dB_Hz_raw); |     d_CN0_SNV_dB_Hz = d_cn0_smoother.smooth(d_CN0_SNV_dB_Hz_raw); | ||||||
|   | |||||||
| @@ -1222,6 +1222,7 @@ void GNSSFlowgraph::acquisition_manager(unsigned int who) | |||||||
|                         } |                         } | ||||||
|                     else |                     else | ||||||
|                         { |                         { | ||||||
|  |                     		channels_[current_channel]->set_signal(channels_[current_channel]->get_signal()); | ||||||
|                             start_acquisition = true; |                             start_acquisition = true; | ||||||
|                         } |                         } | ||||||
|  |  | ||||||
| @@ -1345,6 +1346,7 @@ void GNSSFlowgraph::apply_action(unsigned int who, unsigned int what) | |||||||
|                     channels_state_[who] = 1; |                     channels_state_[who] = 1; | ||||||
|                     acq_channels_count_++; |                     acq_channels_count_++; | ||||||
|                     DLOG(INFO) << "Channel " << who << " Starting acquisition " << gs.get_satellite() << ", Signal " << gs.get_signal_str(); |                     DLOG(INFO) << "Channel " << who << " Starting acquisition " << gs.get_satellite() << ", Signal " << gs.get_signal_str(); | ||||||
|  |                     channels_[who]->set_signal(channels_[who]->get_signal()); | ||||||
| #ifndef ENABLE_FPGA | #ifndef ENABLE_FPGA | ||||||
|                     channels_[who]->start_acquisition(); |                     channels_[who]->start_acquisition(); | ||||||
| #else | #else | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez