26 #ifndef GNSS_SDR_GPS_L1_CA_TCP_CONNECTOR_TRACKING_CC_H 27 #define GNSS_SDR_GPS_L1_CA_TCP_CONNECTOR_TRACKING_CC_H 32 #include <gnuradio/block.h> 33 #include <volk_gnsssdr/volk_gnsssdr_alloc.h> 37 #if GNURADIO_USES_STD_POINTERS 40 #include <boost/shared_ptr.hpp> 46 #if GNURADIO_USES_STD_POINTERS 47 using gps_l1_ca_tcp_connector_tracking_cc_sptr = std::shared_ptr<Gps_L1_Ca_Tcp_Connector_Tracking_cc>;
49 using gps_l1_ca_tcp_connector_tracking_cc_sptr = boost::shared_ptr<Gps_L1_Ca_Tcp_Connector_Tracking_cc>;
52 gps_l1_ca_tcp_connector_tracking_cc_sptr
53 gps_l1_ca_tcp_connector_make_tracking_cc(
54 int64_t fs_in, uint32_t vector_length,
56 const std::string &dump_filename,
57 float early_late_space_chips,
69 void set_channel(uint32_t channel);
71 void start_tracking();
78 int general_work(
int noutput_items, gr_vector_int &ninput_items,
79 gr_vector_const_void_star &input_items, gr_vector_void_star &output_items);
81 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
84 friend gps_l1_ca_tcp_connector_tracking_cc_sptr
85 gps_l1_ca_tcp_connector_make_tracking_cc(
86 int64_t fs_in, uint32_t vector_length,
88 const std::string &dump_filename,
89 float early_late_space_chips,
93 int64_t fs_in, uint32_t vector_length,
95 const std::string &dump_filename,
96 float early_late_space_chips,
99 volk_gnsssdr::vector<gr_complex> d_ca_code;
101 volk_gnsssdr::vector<float> d_local_code_shift_chips;
102 volk_gnsssdr::vector<gr_complex> d_correlator_outs;
103 volk_gnsssdr::vector<gr_complex> d_Prompt_buffer;
110 gr_complex *d_Prompt;
114 std::string d_dump_filename;
115 std::ofstream d_dump_file;
117 std::map<std::string, std::string> systemName;
120 double d_early_late_spc_chips;
121 double d_code_phase_step_chips;
122 double d_rem_code_phase_samples;
123 double d_next_rem_code_phase_samples;
124 double d_code_freq_hz;
125 double d_carrier_doppler_hz;
126 double d_acc_carrier_phase_rad;
127 double d_code_phase_samples;
128 double d_sample_counter_seconds;
131 uint64_t d_sample_counter;
132 uint64_t d_acq_sample_stamp;
137 uint32_t d_vector_length;
140 int32_t d_correlation_length_samples;
141 int32_t d_n_correlator_taps;
142 int32_t d_listen_connection;
143 int32_t d_current_prn_length_samples;
144 int32_t d_next_prn_length_samples;
145 int32_t d_cn0_estimation_counter;
146 int32_t d_carrier_lock_fail_counter;
148 float d_rem_carr_phase_rad;
149 float d_acq_code_phase_samples;
150 float d_acq_carrier_doppler_hz;
151 float d_carrier_lock_test;
152 float d_CN0_SNV_dB_Hz;
153 float d_carrier_lock_threshold;
156 bool d_enable_tracking;
161 #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.
Interface of the TCP communication class.
Interface of the Gnss_Synchro class.