28 #ifndef GNSS_SDR_GALILEO_E1_TCP_CONNECTOR_TRACKING_CC_H 29 #define GNSS_SDR_GALILEO_E1_TCP_CONNECTOR_TRACKING_CC_H 34 #include <gnuradio/block.h> 35 #include <volk_gnsssdr/volk_gnsssdr_alloc.h> 39 #if GNURADIO_USES_STD_POINTERS 42 #include <boost/shared_ptr.hpp> 48 #if GNURADIO_USES_STD_POINTERS 49 using galileo_e1_tcp_connector_tracking_cc_sptr = std::shared_ptr<Galileo_E1_Tcp_Connector_Tracking_cc>;
51 using galileo_e1_tcp_connector_tracking_cc_sptr = boost::shared_ptr<Galileo_E1_Tcp_Connector_Tracking_cc>;
54 galileo_e1_tcp_connector_tracking_cc_sptr
55 galileo_e1_tcp_connector_make_tracking_cc(
56 int64_t fs_in, uint32_t vector_length,
58 const std::string &dump_filename,
61 float early_late_space_chips,
62 float very_early_late_space_chips,
74 void set_channel(uint32_t channel);
76 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 galileo_e1_tcp_connector_tracking_cc_sptr
85 galileo_e1_tcp_connector_make_tracking_cc(
86 int64_t fs_in, uint32_t vector_length,
88 const std::string &dump_filename,
91 float early_late_space_chips,
92 float very_early_late_space_chips,
96 int64_t fs_in, uint32_t vector_length,
98 const std::string &dump_filename,
101 float early_late_space_chips,
102 float very_early_late_space_chips,
105 void update_local_code();
107 void update_local_carrier();
110 uint32_t d_vector_length;
118 int32_t d_correlation_length_samples;
119 int32_t d_n_correlator_taps;
120 float d_early_late_spc_chips;
121 float d_very_early_late_spc_chips;
123 volk_gnsssdr::vector<gr_complex> d_ca_code;
125 gr_complex *d_Very_Early;
127 gr_complex *d_Prompt;
129 gr_complex *d_Very_Late;
132 double d_rem_code_phase_samples;
133 float d_next_rem_code_phase_samples;
134 float d_rem_carr_phase_rad;
137 float d_acq_code_phase_samples;
138 float d_acq_carrier_doppler_hz;
141 volk_gnsssdr::vector<float> d_local_code_shift_chips;
142 volk_gnsssdr::vector<gr_complex> d_correlator_outs;
146 double d_code_freq_chips;
147 float d_carrier_doppler_hz;
148 float d_acc_carrier_phase_rad;
149 float d_acc_code_phase_secs;
150 float d_code_phase_samples;
153 int32_t d_listen_connection;
158 int32_t d_current_prn_length_samples;
159 int32_t d_next_prn_length_samples;
162 uint64_t d_sample_counter;
163 uint64_t d_acq_sample_stamp;
166 int32_t d_cn0_estimation_counter;
167 volk_gnsssdr::vector<gr_complex> d_Prompt_buffer;
168 float d_carrier_lock_test;
169 float d_CN0_SNV_dB_Hz;
170 float d_carrier_lock_threshold;
171 int32_t d_carrier_lock_fail_counter;
174 bool d_enable_tracking;
178 std::string d_dump_filename;
179 std::ofstream d_dump_file;
181 std::map<std::string, std::string> systemName;
185 #endif // GNSS_SDR_GALILEO_E1_TCP_CONNECTOR_TRACKING_CC_H High optimized CPU vector multiTAP correlator class.
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.
This class implements a code DLL + carrier PLL VEML (Very Early Minus Late) tracking block for Galile...
Interface of the Gnss_Synchro class.