mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-30 23:03:05 +00:00 
			
		
		
		
	Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next
This commit is contained in:
		| @@ -60,7 +60,7 @@ galileo_e5a_noncoherentIQ_acquisition_caf_cc_sptr galileo_e5a_noncoherentIQ_make | ||||
| { | ||||
|     return galileo_e5a_noncoherentIQ_acquisition_caf_cc_sptr( | ||||
|         new galileo_e5a_noncoherentIQ_acquisition_caf_cc(sampled_ms, max_dwells, doppler_max, fs_in, samples_per_ms, | ||||
|             samples_per_code, bit_transition_flag, dump, dump_filename, both_signal_components_, CAF_window_hz_, Zero_padding_)); | ||||
|             samples_per_code, bit_transition_flag, dump, std::move(dump_filename), both_signal_components_, CAF_window_hz_, Zero_padding_)); | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -153,7 +153,7 @@ galileo_e5a_noncoherentIQ_acquisition_caf_cc::galileo_e5a_noncoherentIQ_acquisit | ||||
|  | ||||
|     // For dumping samples into a file | ||||
|     d_dump = dump; | ||||
|     d_dump_filename = dump_filename; | ||||
|     d_dump_filename = std::move(dump_filename); | ||||
|  | ||||
|     d_doppler_resolution = 0; | ||||
|     d_threshold = 0; | ||||
|   | ||||
| @@ -51,7 +51,7 @@ galileo_pcps_8ms_acquisition_cc_sptr galileo_pcps_8ms_make_acquisition_cc( | ||||
| { | ||||
|     return galileo_pcps_8ms_acquisition_cc_sptr( | ||||
|         new galileo_pcps_8ms_acquisition_cc(sampled_ms, max_dwells, doppler_max, fs_in, samples_per_ms, | ||||
|             samples_per_code, dump, dump_filename)); | ||||
|             samples_per_code, dump, std::move(dump_filename))); | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -95,7 +95,7 @@ galileo_pcps_8ms_acquisition_cc::galileo_pcps_8ms_acquisition_cc( | ||||
|  | ||||
|     // For dumping samples into a file | ||||
|     d_dump = dump; | ||||
|     d_dump_filename = dump_filename; | ||||
|     d_dump_filename = std::move(dump_filename); | ||||
|  | ||||
|     d_doppler_resolution = 0; | ||||
|     d_threshold = 0; | ||||
|   | ||||
| @@ -53,7 +53,7 @@ pcps_assisted_acquisition_cc_sptr pcps_make_assisted_acquisition_cc( | ||||
| { | ||||
|     return pcps_assisted_acquisition_cc_sptr( | ||||
|         new pcps_assisted_acquisition_cc(max_dwells, sampled_ms, doppler_max, doppler_min, | ||||
|             fs_in, samples_per_ms, dump, dump_filename)); | ||||
|             fs_in, samples_per_ms, dump, std::move(dump_filename))); | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -90,7 +90,7 @@ pcps_assisted_acquisition_cc::pcps_assisted_acquisition_cc( | ||||
|  | ||||
|     // For dumping samples into a file | ||||
|     d_dump = dump; | ||||
|     d_dump_filename = dump_filename; | ||||
|     d_dump_filename = std::move(dump_filename); | ||||
|  | ||||
|     d_doppler_resolution = 0; | ||||
|     d_threshold = 0; | ||||
|   | ||||
| @@ -57,7 +57,7 @@ pcps_cccwsr_acquisition_cc_sptr pcps_cccwsr_make_acquisition_cc( | ||||
| { | ||||
|     return pcps_cccwsr_acquisition_cc_sptr( | ||||
|         new pcps_cccwsr_acquisition_cc(sampled_ms, max_dwells, doppler_max, fs_in, | ||||
|             samples_per_ms, samples_per_code, dump, dump_filename)); | ||||
|             samples_per_ms, samples_per_code, dump, std::move(dump_filename))); | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -105,7 +105,7 @@ pcps_cccwsr_acquisition_cc::pcps_cccwsr_acquisition_cc( | ||||
|  | ||||
|     // For dumping samples into a file | ||||
|     d_dump = dump; | ||||
|     d_dump_filename = dump_filename; | ||||
|     d_dump_filename = std::move(dump_filename); | ||||
|  | ||||
|     d_doppler_resolution = 0; | ||||
|     d_threshold = 0; | ||||
|   | ||||
| @@ -61,7 +61,7 @@ pcps_quicksync_acquisition_cc_sptr pcps_quicksync_make_acquisition_cc( | ||||
|             fs_in, samples_per_ms, | ||||
|             samples_per_code, | ||||
|             bit_transition_flag, | ||||
|             dump, dump_filename)); | ||||
|             dump, std::move(dump_filename))); | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -114,7 +114,7 @@ pcps_quicksync_acquisition_cc::pcps_quicksync_acquisition_cc( | ||||
|  | ||||
|     // For dumping samples into a file | ||||
|     d_dump = dump; | ||||
|     d_dump_filename = dump_filename; | ||||
|     d_dump_filename = std::move(dump_filename); | ||||
|  | ||||
|     d_corr_acumulator = nullptr; | ||||
|     d_signal_folded = nullptr; | ||||
|   | ||||
| @@ -73,7 +73,7 @@ pcps_tong_acquisition_cc_sptr pcps_tong_make_acquisition_cc( | ||||
| { | ||||
|     return pcps_tong_acquisition_cc_sptr( | ||||
|         new pcps_tong_acquisition_cc(sampled_ms, doppler_max, fs_in, samples_per_ms, samples_per_code, | ||||
|             tong_init_val, tong_max_val, tong_max_dwells, dump, dump_filename)); | ||||
|             tong_init_val, tong_max_val, tong_max_dwells, dump, std::move(dump_filename))); | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -121,7 +121,7 @@ pcps_tong_acquisition_cc::pcps_tong_acquisition_cc( | ||||
|  | ||||
|     // For dumping samples into a file | ||||
|     d_dump = dump; | ||||
|     d_dump_filename = dump_filename; | ||||
|     d_dump_filename = std::move(dump_filename); | ||||
|  | ||||
|     d_doppler_resolution = 0; | ||||
|     d_threshold = 0; | ||||
|   | ||||
| @@ -250,10 +250,10 @@ void write_results(const std::vector<volk_gnsssdr_test_results_t> *results, bool | ||||
|     const fs::path config_path(path); | ||||
|     // Until we can update the config on a kernel by kernel basis | ||||
|     // do not overwrite volk_gnsssdr_config when using a regex. | ||||
|     if (!fs::exists(config_path.branch_path())) | ||||
|     if (!fs::exists(config_path.parent_path())) | ||||
|         { | ||||
|             std::cout << "Creating " << config_path.branch_path() << " ..." << std::endl; | ||||
|             fs::create_directories(config_path.branch_path()); | ||||
|             std::cout << "Creating " << config_path.parent_path() << " ..." << std::endl; | ||||
|             fs::create_directories(config_path.parent_path()); | ||||
|         } | ||||
|  | ||||
|     std::ofstream config; | ||||
|   | ||||
| @@ -53,7 +53,7 @@ signal_make_generator_c(std::vector<std::string> signal1, std::vector<std::strin | ||||
|     const std::vector<unsigned int> &delay_chips, const std::vector<unsigned int> &delay_sec, bool data_flag, bool noise_flag, | ||||
|     unsigned int fs_in, unsigned int vector_length, float BW_BB) | ||||
| { | ||||
|     return gnuradio::get_initial_sptr(new signal_generator_c(signal1, system, PRN, CN0_dB, doppler_Hz, delay_chips, delay_sec, | ||||
|     return gnuradio::get_initial_sptr(new signal_generator_c(std::move(signal1), std::move(system), PRN, CN0_dB, doppler_Hz, delay_chips, delay_sec, | ||||
|         data_flag, noise_flag, fs_in, vector_length, BW_BB)); | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -74,7 +74,7 @@ glonass_l1_ca_dll_pll_c_aid_make_tracking_cc( | ||||
|     float early_late_space_chips) | ||||
| { | ||||
|     return glonass_l1_ca_dll_pll_c_aid_tracking_cc_sptr(new glonass_l1_ca_dll_pll_c_aid_tracking_cc( | ||||
|         fs_in, vector_length, dump, dump_filename, pll_bw_hz, dll_bw_hz, pll_bw_narrow_hz, dll_bw_narrow_hz, extend_correlation_ms, early_late_space_chips)); | ||||
|         fs_in, vector_length, dump, std::move(dump_filename), pll_bw_hz, dll_bw_hz, pll_bw_narrow_hz, dll_bw_narrow_hz, extend_correlation_ms, early_late_space_chips)); | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -94,7 +94,7 @@ void glonass_l1_ca_dll_pll_c_aid_tracking_cc::msg_handler_preamble_index(pmt::pm | ||||
|     DLOG(INFO) << "Extended correlation enabled for Tracking CH " << d_channel << ": Satellite " << Gnss_Satellite(systemName[sys], d_acquisition_gnss_synchro->PRN); | ||||
|     if (d_enable_extended_integration == false)  //avoid re-setting preamble indicator | ||||
|         { | ||||
|             d_preamble_timestamp_s = pmt::to_double(msg); | ||||
|             d_preamble_timestamp_s = pmt::to_double(std::move(msg)); | ||||
|             d_enable_extended_integration = true; | ||||
|             d_preamble_synchronized = false; | ||||
|         } | ||||
| @@ -125,7 +125,7 @@ glonass_l1_ca_dll_pll_c_aid_tracking_cc::glonass_l1_ca_dll_pll_c_aid_tracking_cc | ||||
|     d_dump = dump; | ||||
|     d_fs_in = fs_in; | ||||
|     d_vector_length = vector_length; | ||||
|     d_dump_filename = dump_filename; | ||||
|     d_dump_filename = std::move(dump_filename); | ||||
|     d_correlation_length_samples = static_cast<int32_t>(d_vector_length); | ||||
|  | ||||
|     // Initialize tracking  ========================================== | ||||
|   | ||||
| @@ -68,7 +68,7 @@ glonass_l1_ca_dll_pll_make_tracking_cc( | ||||
|     float early_late_space_chips) | ||||
| { | ||||
|     return glonass_l1_ca_dll_pll_tracking_cc_sptr(new Glonass_L1_Ca_Dll_Pll_Tracking_cc( | ||||
|         fs_in, vector_length, dump, dump_filename, pll_bw_hz, dll_bw_hz, early_late_space_chips)); | ||||
|         fs_in, vector_length, dump, std::move(dump_filename), pll_bw_hz, dll_bw_hz, early_late_space_chips)); | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -98,7 +98,7 @@ Glonass_L1_Ca_Dll_Pll_Tracking_cc::Glonass_L1_Ca_Dll_Pll_Tracking_cc( | ||||
|     d_dump = dump; | ||||
|     d_fs_in = fs_in; | ||||
|     d_vector_length = vector_length; | ||||
|     d_dump_filename = dump_filename; | ||||
|     d_dump_filename = std::move(dump_filename); | ||||
|  | ||||
|     d_current_prn_length_samples = static_cast<int32_t>(d_vector_length); | ||||
|  | ||||
|   | ||||
| @@ -71,7 +71,7 @@ glonass_l2_ca_dll_pll_c_aid_make_tracking_cc( | ||||
|     float early_late_space_chips) | ||||
| { | ||||
|     return glonass_l2_ca_dll_pll_c_aid_tracking_cc_sptr(new glonass_l2_ca_dll_pll_c_aid_tracking_cc( | ||||
|         fs_in, vector_length, dump, dump_filename, pll_bw_hz, dll_bw_hz, pll_bw_narrow_hz, dll_bw_narrow_hz, extend_correlation_ms, early_late_space_chips)); | ||||
|         fs_in, vector_length, dump, std::move(dump_filename), pll_bw_hz, dll_bw_hz, pll_bw_narrow_hz, dll_bw_narrow_hz, extend_correlation_ms, early_late_space_chips)); | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -91,7 +91,7 @@ void glonass_l2_ca_dll_pll_c_aid_tracking_cc::msg_handler_preamble_index(pmt::pm | ||||
|     DLOG(INFO) << "Extended correlation enabled for Tracking CH " << d_channel << ": Satellite " << Gnss_Satellite(systemName[sys], d_acquisition_gnss_synchro->PRN); | ||||
|     if (d_enable_extended_integration == false)  //avoid re-setting preamble indicator | ||||
|         { | ||||
|             d_preamble_timestamp_s = pmt::to_double(msg); | ||||
|             d_preamble_timestamp_s = pmt::to_double(std::move(msg)); | ||||
|             d_enable_extended_integration = true; | ||||
|             d_preamble_synchronized = false; | ||||
|         } | ||||
| @@ -122,7 +122,7 @@ glonass_l2_ca_dll_pll_c_aid_tracking_cc::glonass_l2_ca_dll_pll_c_aid_tracking_cc | ||||
|     d_dump = dump; | ||||
|     d_fs_in = fs_in; | ||||
|     d_vector_length = vector_length; | ||||
|     d_dump_filename = dump_filename; | ||||
|     d_dump_filename = std::move(dump_filename); | ||||
|     d_correlation_length_samples = static_cast<int32_t>(d_vector_length); | ||||
|  | ||||
|     // Initialize tracking  ========================================== | ||||
|   | ||||
| @@ -68,7 +68,7 @@ glonass_l2_ca_dll_pll_make_tracking_cc( | ||||
|     float early_late_space_chips) | ||||
| { | ||||
|     return glonass_l2_ca_dll_pll_tracking_cc_sptr(new Glonass_L2_Ca_Dll_Pll_Tracking_cc( | ||||
|         fs_in, vector_length, dump, dump_filename, pll_bw_hz, dll_bw_hz, early_late_space_chips)); | ||||
|         fs_in, vector_length, dump, std::move(dump_filename), pll_bw_hz, dll_bw_hz, early_late_space_chips)); | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -98,7 +98,7 @@ Glonass_L2_Ca_Dll_Pll_Tracking_cc::Glonass_L2_Ca_Dll_Pll_Tracking_cc( | ||||
|     d_dump = dump; | ||||
|     d_fs_in = fs_in; | ||||
|     d_vector_length = vector_length; | ||||
|     d_dump_filename = dump_filename; | ||||
|     d_dump_filename = std::move(dump_filename); | ||||
|  | ||||
|     d_current_prn_length_samples = static_cast<int32_t>(d_vector_length); | ||||
|  | ||||
|   | ||||
| @@ -63,7 +63,7 @@ gps_l1_ca_dll_pll_c_aid_make_tracking_cc( | ||||
|     float early_late_space_chips) | ||||
| { | ||||
|     return gps_l1_ca_dll_pll_c_aid_tracking_cc_sptr(new gps_l1_ca_dll_pll_c_aid_tracking_cc( | ||||
|         fs_in, vector_length, dump, dump_filename, pll_bw_hz, dll_bw_hz, pll_bw_narrow_hz, dll_bw_narrow_hz, extend_correlation_ms, early_late_space_chips)); | ||||
|         fs_in, vector_length, dump, std::move(dump_filename), pll_bw_hz, dll_bw_hz, pll_bw_narrow_hz, dll_bw_narrow_hz, extend_correlation_ms, early_late_space_chips)); | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -83,7 +83,7 @@ void gps_l1_ca_dll_pll_c_aid_tracking_cc::msg_handler_preamble_index(pmt::pmt_t | ||||
|     DLOG(INFO) << "Extended correlation enabled for Tracking CH " << d_channel << ": Satellite " << Gnss_Satellite(systemName[sys], d_acquisition_gnss_synchro->PRN); | ||||
|     if (d_enable_extended_integration == false)  //avoid re-setting preamble indicator | ||||
|         { | ||||
|             d_preamble_timestamp_s = pmt::to_double(msg); | ||||
|             d_preamble_timestamp_s = pmt::to_double(std::move(msg)); | ||||
|             d_enable_extended_integration = true; | ||||
|             d_preamble_synchronized = false; | ||||
|         } | ||||
| @@ -114,7 +114,7 @@ gps_l1_ca_dll_pll_c_aid_tracking_cc::gps_l1_ca_dll_pll_c_aid_tracking_cc( | ||||
|     d_dump = dump; | ||||
|     d_fs_in = fs_in; | ||||
|     d_vector_length = vector_length; | ||||
|     d_dump_filename = dump_filename; | ||||
|     d_dump_filename = std::move(dump_filename); | ||||
|     d_correlation_length_samples = static_cast<int32_t>(d_vector_length); | ||||
|  | ||||
|     // Initialize tracking  ========================================== | ||||
|   | ||||
| @@ -74,7 +74,7 @@ gps_l1_ca_kf_make_tracking_cc( | ||||
|     int32_t bce_kappa) | ||||
| { | ||||
|     return gps_l1_ca_kf_tracking_cc_sptr(new Gps_L1_Ca_Kf_Tracking_cc(order, if_freq, | ||||
|         fs_in, vector_length, dump, dump_filename, dll_bw_hz, early_late_space_chips, | ||||
|         fs_in, vector_length, dump, std::move(dump_filename), dll_bw_hz, early_late_space_chips, | ||||
|         bce_run, bce_ptrans, bce_strans, bce_nu, bce_kappa)); | ||||
| } | ||||
|  | ||||
| @@ -115,7 +115,7 @@ Gps_L1_Ca_Kf_Tracking_cc::Gps_L1_Ca_Kf_Tracking_cc( | ||||
|     d_if_freq = if_freq; | ||||
|     d_fs_in = fs_in; | ||||
|     d_vector_length = vector_length; | ||||
|     d_dump_filename = dump_filename; | ||||
|     d_dump_filename = std::move(dump_filename); | ||||
|  | ||||
|     d_current_prn_length_samples = static_cast<int>(d_vector_length); | ||||
|  | ||||
|   | ||||
| @@ -89,7 +89,7 @@ void GpsL1CaPcpsAcquisitionTest_msg_rx::msg_handler_events(pmt::pmt_t msg) | ||||
| { | ||||
|     try | ||||
|         { | ||||
|             int64_t message = pmt::to_long(msg); | ||||
|             int64_t message = pmt::to_long(std::move(msg)); | ||||
|             rx_message = message; | ||||
|         } | ||||
|     catch (boost::bad_any_cast &e) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez