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

This class implements a Parallel Code Phase Search Acquisition with Tong algorithm. More...

#include <pcps_tong_acquisition_cc.h>

Inheritance diagram for pcps_tong_acquisition_cc:

Public Member Functions

 ~pcps_tong_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 TONG 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 TONG 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_tong_acquisition_cc_sptr pcps_tong_make_acquisition_cc (uint32_t sampled_ms, uint32_t doppler_max, int64_t fs_in, int32_t samples_per_ms, int32_t samples_per_code, uint32_t tong_init_val, uint32_t tong_max_val, uint32_t tong_max_dwells, bool dump, const std::string &dump_filename, bool enable_monitor_output)
 

Detailed Description

This class implements a Parallel Code Phase Search Acquisition with Tong algorithm.

Definition at line 78 of file pcps_tong_acquisition_cc.h.

Constructor & Destructor Documentation

◆ ~pcps_tong_acquisition_cc()

pcps_tong_acquisition_cc::~pcps_tong_acquisition_cc ( )

Default destructor.

Member Function Documentation

◆ general_work()

int pcps_tong_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_tong_acquisition_cc::init ( )

Initializes acquisition algorithm.

◆ mag()

uint32_t pcps_tong_acquisition_cc::mag ( ) const
inline

Returns the maximum peak of grid search.

Definition at line 99 of file pcps_tong_acquisition_cc.h.

◆ set_active()

void pcps_tong_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 120 of file pcps_tong_acquisition_cc.h.

◆ set_channel()

void pcps_tong_acquisition_cc::set_channel ( uint32_t  channel)
inline

Set acquisition channel unique ID.

Parameters
channel- receiver channel.

Definition at line 136 of file pcps_tong_acquisition_cc.h.

◆ set_channel_fsm()

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

Set channel fsm associated to this acquisition instance.

Definition at line 144 of file pcps_tong_acquisition_cc.h.

◆ set_doppler_max()

void pcps_tong_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 163 of file pcps_tong_acquisition_cc.h.

◆ set_doppler_step()

void pcps_tong_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 172 of file pcps_tong_acquisition_cc.h.

◆ set_gnss_synchro()

void pcps_tong_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 91 of file pcps_tong_acquisition_cc.h.

◆ set_local_code()

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

Sets local code for TONG acquisition algorithm.

Parameters
code- Pointer to the PRN code.

◆ set_state()

void pcps_tong_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_tong_acquisition_cc::set_threshold ( float  threshold)
inline

Set statistics threshold of TONG algorithm.

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

Definition at line 154 of file pcps_tong_acquisition_cc.h.


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