mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	Fix conflicts
This commit is contained in:
		| @@ -37,16 +37,15 @@ namespace own = std; | |||||||
| namespace own = gsl; | namespace own = gsl; | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| GalileoE5bPcpsAcquisition::GalileoE5bPcpsAcquisition(ConfigurationInterface* configuration, | GalileoE5bPcpsAcquisition::GalileoE5bPcpsAcquisition(const ConfigurationInterface* configuration, | ||||||
|     const std::string& role, |     const std::string& role, | ||||||
|     unsigned int in_streams, |     unsigned int in_streams, | ||||||
|     unsigned int out_streams) : role_(role), |     unsigned int out_streams) : role_(role), | ||||||
|                                 in_streams_(in_streams), |                                 in_streams_(in_streams), | ||||||
|                                 out_streams_(out_streams) |                                 out_streams_(out_streams) | ||||||
| { | { | ||||||
|     configuration_ = configuration; |  | ||||||
|     acq_parameters_.ms_per_code = 1; |     acq_parameters_.ms_per_code = 1; | ||||||
|     acq_parameters_.SetFromConfiguration(configuration_, role, GALILEO_E5B_CODE_CHIP_RATE_CPS, GALILEO_E5B_OPT_ACQ_FS_SPS); |     acq_parameters_.SetFromConfiguration(configuration, role, GALILEO_E5B_CODE_CHIP_RATE_CPS, GALILEO_E5B_OPT_ACQ_FS_SPS); | ||||||
|  |  | ||||||
|     DLOG(INFO) << "Role " << role; |     DLOG(INFO) << "Role " << role; | ||||||
|  |  | ||||||
| @@ -60,8 +59,8 @@ GalileoE5bPcpsAcquisition::GalileoE5bPcpsAcquisition(ConfigurationInterface* con | |||||||
|     item_size_ = acq_parameters_.it_size; |     item_size_ = acq_parameters_.it_size; | ||||||
|     fs_in_ = acq_parameters_.fs_in; |     fs_in_ = acq_parameters_.fs_in; | ||||||
|  |  | ||||||
|     acq_pilot_ = configuration_->property(role + ".acquire_pilot", false); |     acq_pilot_ = configuration->property(role + ".acquire_pilot", false); | ||||||
|     acq_iq_ = configuration_->property(role + ".acquire_iq", false); |     acq_iq_ = configuration->property(role + ".acquire_iq", false); | ||||||
|     if (acq_iq_) |     if (acq_iq_) | ||||||
|         { |         { | ||||||
|             acq_pilot_ = false; |             acq_pilot_ = false; | ||||||
|   | |||||||
| @@ -38,7 +38,7 @@ public: | |||||||
|     /*! |     /*! | ||||||
|      * \brief Constructor |      * \brief Constructor | ||||||
|      */ |      */ | ||||||
|     GalileoE5bPcpsAcquisition(ConfigurationInterface* configuration, |     GalileoE5bPcpsAcquisition(const ConfigurationInterface* configuration, | ||||||
|         const std::string& role, |         const std::string& role, | ||||||
|         unsigned int in_streams, |         unsigned int in_streams, | ||||||
|         unsigned int out_streams); |         unsigned int out_streams); | ||||||
| @@ -176,7 +176,6 @@ public: | |||||||
|     void set_resampler_latency(uint32_t latency_samples) override; |     void set_resampler_latency(uint32_t latency_samples) override; | ||||||
|  |  | ||||||
| private: | private: | ||||||
|     ConfigurationInterface* configuration_; |  | ||||||
|     pcps_acquisition_sptr acquisition_; |     pcps_acquisition_sptr acquisition_; | ||||||
|     Acq_Conf acq_parameters_; |     Acq_Conf acq_parameters_; | ||||||
|     size_t item_size_; |     size_t item_size_; | ||||||
|   | |||||||
| @@ -420,8 +420,8 @@ int signal_generator_c::general_work(int noutput_items __attribute__((unused)), | |||||||
|                                     // New random data bit |                                     // New random data bit | ||||||
|                                     current_data_bit_int_[sat] = (uniform_dist(e1) % 2) == 0 ? 1 : -1; |                                     current_data_bit_int_[sat] = (uniform_dist(e1) % 2) == 0 ? 1 : -1; | ||||||
|                                 } |                                 } | ||||||
|                             data_modulation_[sat] = current_data_bit_int_[sat] * (GALILEO_E5B_I_SECONDARY_CODE.at((ms_counter_[sat] + delay_sec_[sat]) % 20) == '0' ? 1 : -1); |                             data_modulation_[sat] = current_data_bit_int_[sat] * (GALILEO_E5B_I_SECONDARY_CODE[((ms_counter_[sat] + delay_sec_[sat]) % 20)] == '0' ? 1 : -1); | ||||||
|                             pilot_modulation_[sat] = (GALILEO_E5B_Q_SECONDARY_CODE[PRN_[sat] - 1].at((ms_counter_[sat] + delay_sec_[sat]) % 100) == '0' ? 1 : -1); |                             pilot_modulation_[sat] = (GALILEO_E5B_Q_SECONDARY_CODE[PRN_[sat] - 1][((ms_counter_[sat] + delay_sec_[sat]) % 100)] == '0' ? 1 : -1); | ||||||
|  |  | ||||||
|                             ms_counter_[sat] = ms_counter_[sat] + static_cast<int>(round(1e3 * GALILEO_E5B_CODE_PERIOD_S)); |                             ms_counter_[sat] = ms_counter_[sat] + static_cast<int>(round(1e3 * GALILEO_E5B_CODE_PERIOD_S)); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -563,7 +563,7 @@ std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetChannel_5X( | |||||||
|  |  | ||||||
| // ********* GALILEO E5b  CHANNEL ***************** | // ********* GALILEO E5b  CHANNEL ***************** | ||||||
| std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetChannel_7X( | std::unique_ptr<GNSSBlockInterface> GNSSBlockFactory::GetChannel_7X( | ||||||
|     ConfigurationInterface* configuration, |     const ConfigurationInterface* configuration, | ||||||
|     const std::string& acq, const std::string& trk, const std::string& tlm, int channel, |     const std::string& acq, const std::string& trk, const std::string& tlm, int channel, | ||||||
|     Concurrent_Queue<pmt::pmt_t>* queue) |     Concurrent_Queue<pmt::pmt_t>* queue) | ||||||
| { | { | ||||||
|   | |||||||
| @@ -86,11 +86,11 @@ private: | |||||||
|         const std::string& acq, const std::string& trk, const std::string& tlm, int channel, |         const std::string& acq, const std::string& trk, const std::string& tlm, int channel, | ||||||
|         Concurrent_Queue<pmt::pmt_t>* queue); |         Concurrent_Queue<pmt::pmt_t>* queue); | ||||||
|  |  | ||||||
|     std::unique_ptr<GNSSBlockInterface> GetChannel_7X(ConfigurationInterface* configuration, |     std::unique_ptr<GNSSBlockInterface> GetChannel_7X(const ConfigurationInterface* configuration, | ||||||
|         const std::string& acq, const std::string& trk, const std::string& tlm, int channel, |         const std::string& acq, const std::string& trk, const std::string& tlm, int channel, | ||||||
|         Concurrent_Queue<pmt::pmt_t>* queue); |         Concurrent_Queue<pmt::pmt_t>* queue); | ||||||
|  |  | ||||||
|     std::unique_ptr<GNSSBlockInterface> GetChannel_L5(ConfigurationInterface* configuration, |     std::unique_ptr<GNSSBlockInterface> GetChannel_L5(const ConfigurationInterface* configuration, | ||||||
|         const std::string& acq, const std::string& trk, const std::string& tlm, int channel, |         const std::string& acq, const std::string& trk, const std::string& tlm, int channel, | ||||||
|         Concurrent_Queue<pmt::pmt_t>* queue); |         Concurrent_Queue<pmt::pmt_t>* queue); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez