18 #ifndef GNSS_SDR_GLONASS_L1_CA_TELEMETRY_DECODER_GS_H 19 #define GNSS_SDR_GLONASS_L1_CA_TELEMETRY_DECODER_GS_H 28 #include <boost/circular_buffer.hpp> 29 #include <gnuradio/types.h> 40 using glonass_l1_ca_telemetry_decoder_gs_sptr = gnss_shared_ptr<glonass_l1_ca_telemetry_decoder_gs>;
42 glonass_l1_ca_telemetry_decoder_gs_sptr glonass_l1_ca_make_telemetry_decoder_gs(
58 inline void reset()
override {};
63 int general_work(
int noutput_items, gr_vector_int &ninput_items,
64 gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
override;
67 friend glonass_l1_ca_telemetry_decoder_gs_sptr glonass_l1_ca_make_telemetry_decoder_gs(
73 const std::array<int16_t, GLONASS_GNAV_PREAMBLE_LENGTH_BITS> d_preambles_bits{GLONASS_GNAV_PREAMBLE_SAMPLES};
75 void decode_string(
const double *symbols,
double cn0);
78 boost::circular_buffer<Gnss_Synchro> d_symbol_history;
86 std::unique_ptr<Tlm_CRC_Stats> d_Tlm_CRC_Stats;
88 std::string d_dump_filename;
89 std::ofstream d_dump_file;
91 double d_preamble_time_samples;
92 double d_TOW_at_current_symbol;
95 uint64_t d_sample_counter;
96 uint64_t d_preamble_index;
99 int32_t d_CRC_error_counter;
102 bool d_flag_frame_sync;
103 bool d_flag_preamble;
107 bool d_enable_navdata_monitor;
108 bool d_dump_crc_stats;
115 #endif // GNSS_SDR_GLONASS_L1_CA_TELEMETRY_DECODER_GS_H Defines system parameters for GLONASS L1 C/A signal and NAV data.
Common base class for telemetry decoder GNU Radio implementations.
void set_satellite(const Gnss_Satellite &satellite) override
Set satellite PRN.
void set_channel(int32_t channel) override
Set receiver's channel.
Class that contains all the configuration parameters for generic telemetry decoder block...
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) override
This is where all signal processing takes place.
This class implements a block that decodes the GNAV data defined in GLONASS ICD v5.1.
This class represents a GNSS satellite.
Base class for telemetry decoder GNU Radio blocks.
Interface of a GLONASS GNAV Data message decoder as described in GLONASS ICD (Edition 5...
Class for storage of decoded navigation messages.
~glonass_l1_ca_telemetry_decoder_gs() override
Class destructor.
This class decodes a GLONASS GNAV Data message as described in GLONASS ICD (Edition 5...
Interface of the Gnss_Synchro class.