22 #ifndef GNSS_SDR_GPS_L1_CA_DLL_PLL_TRACKING_GPU_CC_H 23 #define GNSS_SDR_GPS_L1_CA_DLL_PLL_TRACKING_GPU_CC_H 30 #include <gnuradio/block.h> 44 using gps_l1_ca_dll_pll_tracking_gpu_cc_sptr = gnss_shared_ptr<Gps_L1_Ca_Dll_Pll_Tracking_GPU_cc>;
46 gps_l1_ca_dll_pll_tracking_gpu_cc_sptr
47 gps_l1_ca_dll_pll_make_tracking_gpu_cc(
49 uint32_t vector_length,
51 std::string dump_filename,
54 float early_late_space_chips);
65 void set_channel(uint32_t channel);
67 void start_tracking();
69 int general_work(
int noutput_items, gr_vector_int &ninput_items,
70 gr_vector_const_void_star &input_items, gr_vector_void_star &output_items);
72 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
75 friend gps_l1_ca_dll_pll_tracking_gpu_cc_sptr
76 gps_l1_ca_dll_pll_make_tracking_gpu_cc(
78 uint32_t vector_length,
80 std::string dump_filename,
83 float early_late_space_chips);
87 uint32_t vector_length,
89 std::string dump_filename,
92 float early_late_space_chips);
93 void update_local_code();
94 void update_local_carrier();
95 void check_carrier_phase_coherent_initialization();
103 std::vector<gr_complex> d_Prompt_buffer;
106 std::string d_dump_filename;
107 std::ofstream d_dump_file;
109 std::map<std::string, std::string> systemName;
115 double d_early_late_spc_chips;
116 uint32_t d_vector_length;
118 int32_t d_n_correlator_taps;
123 gr_complex *d_correlator_outs;
124 gr_complex *d_ca_code;
125 float *d_local_code_shift_chips;
128 gr_complex *d_Prompt;
132 double d_rem_code_phase_samples;
133 double d_rem_code_phase_chips;
134 double d_rem_carrier_phase_rad;
137 double d_acq_code_phase_samples;
138 double d_acq_carrier_doppler_hz;
141 double d_code_freq_chips;
142 double d_code_phase_step_chips;
143 double d_carrier_doppler_hz;
144 double d_carrier_phase_step_rad;
145 double d_acc_carrier_phase_cycles;
146 double d_code_phase_samples;
147 double d_pll_to_dll_assist_secs_Ti;
150 int32_t d_correlation_length_samples;
153 uint64_t d_sample_counter;
154 uint64_t d_acq_sample_stamp;
157 double d_carrier_lock_test;
158 double d_CN0_SNV_dB_Hz;
159 double d_carrier_lock_threshold;
160 int32_t d_carrier_lock_fail_counter;
161 int32_t d_cn0_estimation_counter;
164 bool d_acc_carrier_phase_initialized;
165 bool d_enable_tracking;
173 #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.
This interface represents a GNSS block.
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.