22 #ifndef GNSS_SDR_GALILEO_E5B_PCPS_ACQUISITION_H 23 #define GNSS_SDR_GALILEO_E5B_PCPS_ACQUISITION_H 42 const std::string&
role,
43 unsigned int in_streams,
44 unsigned int out_streams);
54 inline std::string
role()
override 65 return "Galileo_E5b_PCPS_Acquisition";
73 return sizeof(int16_t);
79 void connect(gr::top_block_sptr top_block)
override;
84 void disconnect(gr::top_block_sptr top_block)
override;
109 acquisition_->set_channel(channel_);
117 channel_fsm_ = channel_fsm;
118 acquisition_->set_channel_fsm(channel_fsm);
144 void init()
override;
154 signed int mag()
override;
159 void reset()
override;
179 pcps_acquisition_sptr acquisition_;
181 std::vector<std::complex<float>> code_;
182 std::weak_ptr<ChannelFsm> channel_fsm_;
187 std::string item_type_;
188 std::string dump_filename_;
196 unsigned int vector_length_;
197 unsigned int code_length_;
198 unsigned int channel_;
199 unsigned int doppler_max_;
200 unsigned int doppler_step_;
201 unsigned int sampled_ms_;
202 unsigned int in_streams_;
203 unsigned int out_streams_;
209 #endif // GNSS_SDR_GALILEO_E5B_PCPS_ACQUISITION_H void disconnect(gr::top_block_sptr top_block) override
Disconnect.
void set_threshold(float threshold) override
Set statistics threshold of PCPS algorithm.
gr::basic_block_sptr get_left_block() override
Get left block.
signed int mag() override
Returns the maximum peak of grid search.
void set_local_code() override
Sets local Galileo E5b code for PCPS acquisition algorithm.
GalileoE5bPcpsAcquisition(const ConfigurationInterface *configuration, const std::string &role, unsigned int in_streams, unsigned int out_streams)
Constructor.
Interface of the State Machine for channel.
void set_doppler_center(int doppler_center) override
Set Doppler center for the grid search.
void reset() override
Restart acquisition algorithm.
void set_resampler_latency(uint32_t latency_samples) override
Sets the resampler latency to account it in the acquisition code delay estimation.
void set_channel(unsigned int channel) override
Set acquisition channel unique ID.
This class implements a Parallel Code Phase Search Acquisition.
std::string implementation() override
Returns "GALILEO_E5b_PCPS_Acquisition".
This abstract class represents an interface to an acquisition GNSS block.
This is the class that contains the information that is shared by the processing blocks.
This abstract class represents an interface to configuration parameters.
void set_gnss_synchro(Gnss_Synchro *p_gnss_synchro) override
Set acquisition/tracking common Gnss_Synchro object pointer to efficiently exchange synchronization d...
gr::basic_block_sptr get_right_block() override
Get right block.
void set_doppler_step(unsigned int doppler_step) override
Set Doppler steps for the grid search.
void connect(gr::top_block_sptr top_block) override
Connect.
size_t item_size() override
Returns size of lv_16sc_t.
std::string role() override
Role.
~GalileoE5bPcpsAcquisition()=default
Destructor.
void init() override
Initializes acquisition algorithm.
void set_channel_fsm(std::weak_ptr< ChannelFsm > channel_fsm) override
Set channel fsm associated to this acquisition instance.
void set_doppler_max(unsigned int doppler_max) override
Set maximum Doppler off grid search.
void stop_acquisition() override
Stop running acquisition.
Interface of the Gnss_Synchro class.
void set_state(int state) override
If set to 1, ensures that acquisition starts at the first available sample.