23 #ifndef GNSS_SDR_GPS_L1_CA_TCP_CONNECTOR_TRACKING_CC_H 24 #define GNSS_SDR_GPS_L1_CA_TCP_CONNECTOR_TRACKING_CC_H 30 #include <gnuradio/block.h> 31 #include <volk_gnsssdr/volk_gnsssdr_alloc.h> 44 using gps_l1_ca_tcp_connector_tracking_cc_sptr = gnss_shared_ptr<Gps_L1_Ca_Tcp_Connector_Tracking_cc>;
46 gps_l1_ca_tcp_connector_tracking_cc_sptr
47 gps_l1_ca_tcp_connector_make_tracking_cc(
48 int64_t fs_in, uint32_t vector_length,
50 const std::string &dump_filename,
51 float early_late_space_chips,
63 void set_channel(uint32_t channel);
65 void start_tracking();
72 int general_work(
int noutput_items, gr_vector_int &ninput_items,
73 gr_vector_const_void_star &input_items, gr_vector_void_star &output_items);
75 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
78 friend gps_l1_ca_tcp_connector_tracking_cc_sptr
79 gps_l1_ca_tcp_connector_make_tracking_cc(
80 int64_t fs_in, uint32_t vector_length,
82 const std::string &dump_filename,
83 float early_late_space_chips,
87 int64_t fs_in, uint32_t vector_length,
89 const std::string &dump_filename,
90 float early_late_space_chips,
93 volk_gnsssdr::vector<gr_complex> d_ca_code;
95 volk_gnsssdr::vector<float> d_local_code_shift_chips;
96 volk_gnsssdr::vector<gr_complex> d_correlator_outs;
97 volk_gnsssdr::vector<gr_complex> d_Prompt_buffer;
104 gr_complex *d_Prompt;
108 std::string d_dump_filename;
109 std::ofstream d_dump_file;
111 std::map<std::string, std::string> systemName;
114 double d_early_late_spc_chips;
115 double d_code_phase_step_chips;
116 double d_rem_code_phase_samples;
117 double d_next_rem_code_phase_samples;
118 double d_code_freq_hz;
119 double d_carrier_doppler_hz;
120 double d_acc_carrier_phase_rad;
121 double d_code_phase_samples;
122 double d_sample_counter_seconds;
125 uint64_t d_sample_counter;
126 uint64_t d_acq_sample_stamp;
131 uint32_t d_vector_length;
134 int32_t d_correlation_length_samples;
135 int32_t d_n_correlator_taps;
136 int32_t d_listen_connection;
137 int32_t d_current_prn_length_samples;
138 int32_t d_next_prn_length_samples;
139 int32_t d_cn0_estimation_counter;
140 int32_t d_carrier_lock_fail_counter;
142 float d_rem_carr_phase_rad;
143 float d_acq_code_phase_samples;
144 float d_acq_carrier_doppler_hz;
145 float d_carrier_lock_test;
146 float d_CN0_SNV_dB_Hz;
147 float d_carrier_lock_threshold;
150 bool d_enable_tracking;
158 #endif // GNSS_SDR_GPS_L1_CA_TCP_CONNECTOR_TRACKING_CC_H High optimized CPU vector multiTAP correlator class.
This class implements a DLL + PLL tracking loop block.
Class that implements carrier wipe-off and correlators.
This is the class that contains the information that is shared by the processing blocks.
This interface represents a GNSS block.
Interface of the TCP communication class.
Interface of the Gnss_Synchro class.