GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Public Member Functions | Friends | List of all members
pcps_quicksync_acquisition_cc Class Reference

This class implements a Parallel Code Phase Search Acquisition with the implementation of the Sparse QuickSync Algorithm. More...

#include <pcps_quicksync_acquisition_cc.h>

Inheritance diagram for pcps_quicksync_acquisition_cc:

Public Member Functions

 ~pcps_quicksync_acquisition_cc ()
 Default destructor. More...
 
void set_gnss_synchro (Gnss_Synchro *p_gnss_synchro)
 Set acquisition/tracking common Gnss_Synchro object pointer to exchange synchronization data between acquisition and tracking blocks. More...
 
uint32_t mag () const
 Returns the maximum peak of grid search. More...
 
void init ()
 Initializes acquisition algorithm. More...
 
void set_local_code (std::complex< float > *code)
 Sets local code for PCPS acquisition algorithm. More...
 
void set_active (bool active)
 Starts acquisition algorithm, turning from standby mode to active mode. More...
 
void set_state (int32_t state)
 If set to 1, ensures that acquisition starts at the first available sample. More...
 
void set_channel (uint32_t channel)
 Set acquisition channel unique ID. More...
 
void set_channel_fsm (std::weak_ptr< ChannelFsm > channel_fsm)
 Set channel fsm associated to this acquisition instance. More...
 
void set_threshold (float threshold)
 Set statistics threshold of PCPS algorithm. More...
 
void set_doppler_max (uint32_t doppler_max)
 Set maximum Doppler grid search. More...
 
void set_doppler_step (uint32_t doppler_step)
 Set Doppler steps for the grid search. More...
 
int general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 Parallel Code Phase Search Acquisition signal processing. More...
 

Friends

pcps_quicksync_acquisition_cc_sptr pcps_quicksync_make_acquisition_cc (uint32_t folding_factor, uint32_t sampled_ms, uint32_t max_dwells, uint32_t doppler_max, int64_t fs_in, int32_t samples_per_ms, int32_t samples_per_code, bool bit_transition_flag, bool dump, const std::string &dump_filename, bool enable_monitor_output)
 

Detailed Description

This class implements a Parallel Code Phase Search Acquisition with the implementation of the Sparse QuickSync Algorithm.

Check Faster GPS via the Sparse Fourier Transform, for details of its implementation and functionality.

Definition at line 84 of file pcps_quicksync_acquisition_cc.h.

Constructor & Destructor Documentation

◆ ~pcps_quicksync_acquisition_cc()

pcps_quicksync_acquisition_cc::~pcps_quicksync_acquisition_cc ( )

Default destructor.

Member Function Documentation

◆ general_work()

int pcps_quicksync_acquisition_cc::general_work ( int  noutput_items,
gr_vector_int &  ninput_items,
gr_vector_const_void_star &  input_items,
gr_vector_void_star &  output_items 
)

Parallel Code Phase Search Acquisition signal processing.

◆ init()

void pcps_quicksync_acquisition_cc::init ( )

Initializes acquisition algorithm.

◆ mag()

uint32_t pcps_quicksync_acquisition_cc::mag ( ) const
inline

Returns the maximum peak of grid search.

Definition at line 105 of file pcps_quicksync_acquisition_cc.h.

◆ set_active()

void pcps_quicksync_acquisition_cc::set_active ( bool  active)
inline

Starts acquisition algorithm, turning from standby mode to active mode.

Parameters
active- bool that activates/deactivates the block.

Definition at line 126 of file pcps_quicksync_acquisition_cc.h.

◆ set_channel()

void pcps_quicksync_acquisition_cc::set_channel ( uint32_t  channel)
inline

Set acquisition channel unique ID.

Parameters
channel- receiver channel.

Definition at line 142 of file pcps_quicksync_acquisition_cc.h.

◆ set_channel_fsm()

void pcps_quicksync_acquisition_cc::set_channel_fsm ( std::weak_ptr< ChannelFsm channel_fsm)
inline

Set channel fsm associated to this acquisition instance.

Definition at line 150 of file pcps_quicksync_acquisition_cc.h.

◆ set_doppler_max()

void pcps_quicksync_acquisition_cc::set_doppler_max ( uint32_t  doppler_max)
inline

Set maximum Doppler grid search.

Parameters
doppler_max- Maximum Doppler shift considered in the grid search [Hz].

Definition at line 169 of file pcps_quicksync_acquisition_cc.h.

◆ set_doppler_step()

void pcps_quicksync_acquisition_cc::set_doppler_step ( uint32_t  doppler_step)
inline

Set Doppler steps for the grid search.

Parameters
doppler_step- Frequency bin of the search grid [Hz].

Definition at line 178 of file pcps_quicksync_acquisition_cc.h.

◆ set_gnss_synchro()

void pcps_quicksync_acquisition_cc::set_gnss_synchro ( Gnss_Synchro p_gnss_synchro)
inline

Set acquisition/tracking common Gnss_Synchro object pointer to exchange synchronization data between acquisition and tracking blocks.

Parameters
p_gnss_synchroSatellite information shared by the processing blocks.

Definition at line 97 of file pcps_quicksync_acquisition_cc.h.

◆ set_local_code()

void pcps_quicksync_acquisition_cc::set_local_code ( std::complex< float > *  code)

Sets local code for PCPS acquisition algorithm.

Parameters
code- Pointer to the PRN code.

◆ set_state()

void pcps_quicksync_acquisition_cc::set_state ( int32_t  state)

If set to 1, ensures that acquisition starts at the first available sample.

Parameters
state- int=1 forces start of acquisition

◆ set_threshold()

void pcps_quicksync_acquisition_cc::set_threshold ( float  threshold)
inline

Set statistics threshold of PCPS algorithm.

Parameters
threshold- Threshold for signal detection (check Navitec2012, Algorithm 1, for a definition of this threshold).

Definition at line 160 of file pcps_quicksync_acquisition_cc.h.


The documentation for this class was generated from the following file: