25 #ifndef GNSS_SDR_GALILEO_E1_TCP_CONNECTOR_TRACKING_CC_H 26 #define GNSS_SDR_GALILEO_E1_TCP_CONNECTOR_TRACKING_CC_H 32 #include <gnuradio/block.h> 33 #include <volk_gnsssdr/volk_gnsssdr_alloc.h> 46 using galileo_e1_tcp_connector_tracking_cc_sptr = gnss_shared_ptr<Galileo_E1_Tcp_Connector_Tracking_cc>;
48 galileo_e1_tcp_connector_tracking_cc_sptr
49 galileo_e1_tcp_connector_make_tracking_cc(
50 int64_t fs_in, uint32_t vector_length,
52 const std::string &dump_filename,
55 float early_late_space_chips,
56 float very_early_late_space_chips,
68 void set_channel(uint32_t channel);
70 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 galileo_e1_tcp_connector_tracking_cc_sptr
79 galileo_e1_tcp_connector_make_tracking_cc(
80 int64_t fs_in, uint32_t vector_length,
82 const std::string &dump_filename,
85 float early_late_space_chips,
86 float very_early_late_space_chips,
90 int64_t fs_in, uint32_t vector_length,
92 const std::string &dump_filename,
95 float early_late_space_chips,
96 float very_early_late_space_chips,
99 void update_local_code();
101 void update_local_carrier();
104 uint32_t d_vector_length;
112 int32_t d_correlation_length_samples;
113 int32_t d_n_correlator_taps;
114 float d_early_late_spc_chips;
115 float d_very_early_late_spc_chips;
117 volk_gnsssdr::vector<gr_complex> d_ca_code;
119 gr_complex *d_Very_Early;
121 gr_complex *d_Prompt;
123 gr_complex *d_Very_Late;
126 double d_rem_code_phase_samples;
127 float d_next_rem_code_phase_samples;
128 float d_rem_carr_phase_rad;
131 float d_acq_code_phase_samples;
132 float d_acq_carrier_doppler_hz;
135 volk_gnsssdr::vector<float> d_local_code_shift_chips;
136 volk_gnsssdr::vector<gr_complex> d_correlator_outs;
140 double d_code_freq_chips;
141 float d_carrier_doppler_hz;
142 float d_acc_carrier_phase_rad;
143 float d_acc_code_phase_secs;
144 float d_code_phase_samples;
147 int32_t d_listen_connection;
152 int32_t d_current_prn_length_samples;
153 int32_t d_next_prn_length_samples;
156 uint64_t d_sample_counter;
157 uint64_t d_acq_sample_stamp;
160 int32_t d_cn0_estimation_counter;
161 volk_gnsssdr::vector<gr_complex> d_Prompt_buffer;
162 float d_carrier_lock_test;
163 float d_CN0_SNV_dB_Hz;
164 float d_carrier_lock_threshold;
165 int32_t d_carrier_lock_fail_counter;
168 bool d_enable_tracking;
172 std::string d_dump_filename;
173 std::ofstream d_dump_file;
175 std::map<std::string, std::string> systemName;
182 #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.
This interface represents a GNSS block.
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.