25 #ifndef GNSS_SDR_GPS_L1_CA_DLL_PLL_TRACKING_GPU_CC_H 26 #define GNSS_SDR_GPS_L1_CA_DLL_PLL_TRACKING_GPU_CC_H 32 #include <gnuradio/block.h> 37 #if GNURADIO_USES_STD_POINTERS 40 #include <boost/shared_ptr.hpp> 45 #if GNURADIO_USES_STD_POINTERS 46 typedef std::shared_ptr<Gps_L1_Ca_Dll_Pll_Tracking_GPU_cc>
47 gps_l1_ca_dll_pll_tracking_gpu_cc_sptr;
49 typedef boost::shared_ptr<Gps_L1_Ca_Dll_Pll_Tracking_GPU_cc>
50 gps_l1_ca_dll_pll_tracking_gpu_cc_sptr;
53 gps_l1_ca_dll_pll_tracking_gpu_cc_sptr
54 gps_l1_ca_dll_pll_make_tracking_gpu_cc(
56 uint32_t vector_length,
58 std::string dump_filename,
61 float early_late_space_chips);
72 void set_channel(uint32_t channel);
74 void start_tracking();
76 int general_work(
int noutput_items, gr_vector_int &ninput_items,
77 gr_vector_const_void_star &input_items, gr_vector_void_star &output_items);
79 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
82 friend gps_l1_ca_dll_pll_tracking_gpu_cc_sptr
83 gps_l1_ca_dll_pll_make_tracking_gpu_cc(
85 uint32_t vector_length,
87 std::string dump_filename,
90 float early_late_space_chips);
94 uint32_t vector_length,
96 std::string dump_filename,
99 float early_late_space_chips);
100 void update_local_code();
101 void update_local_carrier();
102 void check_carrier_phase_coherent_initialization();
110 std::vector<gr_complex> d_Prompt_buffer;
113 std::string d_dump_filename;
114 std::ofstream d_dump_file;
116 std::map<std::string, std::string> systemName;
122 double d_early_late_spc_chips;
123 uint32_t d_vector_length;
125 int32_t d_n_correlator_taps;
130 gr_complex *d_correlator_outs;
131 gr_complex *d_ca_code;
132 float *d_local_code_shift_chips;
135 gr_complex *d_Prompt;
139 double d_rem_code_phase_samples;
140 double d_rem_code_phase_chips;
141 double d_rem_carrier_phase_rad;
144 double d_acq_code_phase_samples;
145 double d_acq_carrier_doppler_hz;
148 double d_code_freq_chips;
149 double d_code_phase_step_chips;
150 double d_carrier_doppler_hz;
151 double d_carrier_phase_step_rad;
152 double d_acc_carrier_phase_cycles;
153 double d_code_phase_samples;
154 double d_pll_to_dll_assist_secs_Ti;
157 int32_t d_correlation_length_samples;
160 uint64_t d_sample_counter;
161 uint64_t d_acq_sample_stamp;
164 double d_carrier_lock_test;
165 double d_CN0_SNV_dB_Hz;
166 double d_carrier_lock_threshold;
167 int32_t d_carrier_lock_fail_counter;
168 int32_t d_cn0_estimation_counter;
171 bool d_acc_carrier_phase_initialized;
172 bool d_enable_tracking;
177 #endif // GNSS_SDR_GPS_L1_CA_DLL_PLL_TRACKING_GPU_CC_H Class that implements carrier wipe-off and correlators using NVIDIA CUDA GPU accelerators.
This class implements a 2nd order DLL filter for code tracking loop.
This class implements a DLL + PLL tracking loop block.
This class implements a hybrid FLL and PLL filter for tracking carrier loop.
This is the class that contains the information that is shared by the processing blocks.
Interface of a 2nd order DLL filter for code tracking loop.
Highly optimized CUDA GPU vector multiTAP correlator class.
Interface of a hybrid FLL and PLL filter for tracking carrier loop.
Interface of the Gnss_Synchro class.