From 3b5b4ccf33a0d02034514ad453b32be3e1c38283 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 5 Mar 2019 22:17:09 +0100 Subject: [PATCH] Improve includes with IWYU --- .../adapters/beidou_b1i_telemetry_decoder.cc | 4 ---- .../adapters/galileo_e1b_telemetry_decoder.cc | 4 ---- .../adapters/galileo_e5a_telemetry_decoder.cc | 4 ---- .../glonass_l1_ca_telemetry_decoder.cc | 3 --- .../glonass_l2_ca_telemetry_decoder.cc | 3 --- .../adapters/gps_l1_ca_telemetry_decoder.cc | 4 ---- .../adapters/gps_l2c_telemetry_decoder.cc | 4 ---- .../adapters/sbas_l1_telemetry_decoder.cc | 1 - .../beidou_b1i_telemetry_decoder_gs.cc | 14 ++++++++--- .../beidou_b1i_telemetry_decoder_gs.h | 18 +++++++------- .../galileo_telemetry_decoder_gs.cc | 14 ++++++++++- .../galileo_telemetry_decoder_gs.h | 17 +++++++------ .../glonass_l1_ca_telemetry_decoder_gs.cc | 16 ++++++++++--- .../glonass_l1_ca_telemetry_decoder_gs.h | 15 ++++++------ .../glonass_l2_ca_telemetry_decoder_gs.cc | 16 ++++++++++--- .../glonass_l2_ca_telemetry_decoder_gs.h | 24 +++++++++---------- .../gps_l1_ca_telemetry_decoder_gs.cc | 11 +++++++++ .../gps_l1_ca_telemetry_decoder_gs.h | 12 ++++++---- .../gps_l2c_telemetry_decoder_gs.cc | 14 ++++++++--- .../gps_l2c_telemetry_decoder_gs.h | 10 ++------ .../gps_l5_telemetry_decoder_gs.cc | 7 +++++- .../gps_l5_telemetry_decoder_gs.h | 13 ++++------ .../sbas_l1_telemetry_decoder_gs.cc | 7 ++++-- .../sbas_l1_telemetry_decoder_gs.h | 7 ++++-- 24 files changed, 140 insertions(+), 102 deletions(-) diff --git a/src/algorithms/telemetry_decoder/adapters/beidou_b1i_telemetry_decoder.cc b/src/algorithms/telemetry_decoder/adapters/beidou_b1i_telemetry_decoder.cc index 2daf11435..db650d264 100644 --- a/src/algorithms/telemetry_decoder/adapters/beidou_b1i_telemetry_decoder.cc +++ b/src/algorithms/telemetry_decoder/adapters/beidou_b1i_telemetry_decoder.cc @@ -31,10 +31,6 @@ #include "beidou_b1i_telemetry_decoder.h" -#include "beidou_dnav_almanac.h" -#include "beidou_dnav_ephemeris.h" -#include "beidou_dnav_iono.h" -#include "beidou_dnav_utc_model.h" #include "configuration_interface.h" #include diff --git a/src/algorithms/telemetry_decoder/adapters/galileo_e1b_telemetry_decoder.cc b/src/algorithms/telemetry_decoder/adapters/galileo_e1b_telemetry_decoder.cc index e5b12992c..f6614cd5f 100644 --- a/src/algorithms/telemetry_decoder/adapters/galileo_e1b_telemetry_decoder.cc +++ b/src/algorithms/telemetry_decoder/adapters/galileo_e1b_telemetry_decoder.cc @@ -33,10 +33,6 @@ #include "galileo_e1b_telemetry_decoder.h" #include "configuration_interface.h" -#include "galileo_almanac.h" -#include "galileo_ephemeris.h" -#include "galileo_iono.h" -#include "galileo_utc_model.h" #include diff --git a/src/algorithms/telemetry_decoder/adapters/galileo_e5a_telemetry_decoder.cc b/src/algorithms/telemetry_decoder/adapters/galileo_e5a_telemetry_decoder.cc index 6922b133c..7c1dff20f 100644 --- a/src/algorithms/telemetry_decoder/adapters/galileo_e5a_telemetry_decoder.cc +++ b/src/algorithms/telemetry_decoder/adapters/galileo_e5a_telemetry_decoder.cc @@ -36,10 +36,6 @@ #include "galileo_e5a_telemetry_decoder.h" #include "configuration_interface.h" -#include "galileo_almanac.h" -#include "galileo_ephemeris.h" -#include "galileo_iono.h" -#include "galileo_utc_model.h" #include diff --git a/src/algorithms/telemetry_decoder/adapters/glonass_l1_ca_telemetry_decoder.cc b/src/algorithms/telemetry_decoder/adapters/glonass_l1_ca_telemetry_decoder.cc index c48e2944d..fce316a5d 100644 --- a/src/algorithms/telemetry_decoder/adapters/glonass_l1_ca_telemetry_decoder.cc +++ b/src/algorithms/telemetry_decoder/adapters/glonass_l1_ca_telemetry_decoder.cc @@ -33,9 +33,6 @@ #include "glonass_l1_ca_telemetry_decoder.h" #include "configuration_interface.h" -#include "glonass_gnav_almanac.h" -#include "glonass_gnav_ephemeris.h" -#include "glonass_gnav_utc_model.h" #include diff --git a/src/algorithms/telemetry_decoder/adapters/glonass_l2_ca_telemetry_decoder.cc b/src/algorithms/telemetry_decoder/adapters/glonass_l2_ca_telemetry_decoder.cc index 0347cf958..2c8aad54f 100644 --- a/src/algorithms/telemetry_decoder/adapters/glonass_l2_ca_telemetry_decoder.cc +++ b/src/algorithms/telemetry_decoder/adapters/glonass_l2_ca_telemetry_decoder.cc @@ -32,9 +32,6 @@ #include "glonass_l2_ca_telemetry_decoder.h" #include "configuration_interface.h" -#include "glonass_gnav_almanac.h" -#include "glonass_gnav_ephemeris.h" -#include "glonass_gnav_utc_model.h" #include diff --git a/src/algorithms/telemetry_decoder/adapters/gps_l1_ca_telemetry_decoder.cc b/src/algorithms/telemetry_decoder/adapters/gps_l1_ca_telemetry_decoder.cc index b4ff602a3..5fadb8025 100644 --- a/src/algorithms/telemetry_decoder/adapters/gps_l1_ca_telemetry_decoder.cc +++ b/src/algorithms/telemetry_decoder/adapters/gps_l1_ca_telemetry_decoder.cc @@ -32,10 +32,6 @@ #include "gps_l1_ca_telemetry_decoder.h" #include "configuration_interface.h" -#include "gps_almanac.h" -#include "gps_ephemeris.h" -#include "gps_iono.h" -#include "gps_utc_model.h" #include diff --git a/src/algorithms/telemetry_decoder/adapters/gps_l2c_telemetry_decoder.cc b/src/algorithms/telemetry_decoder/adapters/gps_l2c_telemetry_decoder.cc index 601c6054a..eccee3f2d 100644 --- a/src/algorithms/telemetry_decoder/adapters/gps_l2c_telemetry_decoder.cc +++ b/src/algorithms/telemetry_decoder/adapters/gps_l2c_telemetry_decoder.cc @@ -32,10 +32,6 @@ #include "gps_l2c_telemetry_decoder.h" #include "configuration_interface.h" -#include "gps_almanac.h" -#include "gps_cnav_ephemeris.h" -#include "gps_cnav_iono.h" -#include "gps_cnav_utc_model.h" #include diff --git a/src/algorithms/telemetry_decoder/adapters/sbas_l1_telemetry_decoder.cc b/src/algorithms/telemetry_decoder/adapters/sbas_l1_telemetry_decoder.cc index 16d1d5fcb..2621402ab 100644 --- a/src/algorithms/telemetry_decoder/adapters/sbas_l1_telemetry_decoder.cc +++ b/src/algorithms/telemetry_decoder/adapters/sbas_l1_telemetry_decoder.cc @@ -32,7 +32,6 @@ #include "sbas_l1_telemetry_decoder.h" #include "configuration_interface.h" -#include "sbas_l1_telemetry_decoder_gs.h" #include diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/beidou_b1i_telemetry_decoder_gs.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/beidou_b1i_telemetry_decoder_gs.cc index 8bb55eff2..506a4ff5e 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/beidou_b1i_telemetry_decoder_gs.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/beidou_b1i_telemetry_decoder_gs.cc @@ -1,7 +1,6 @@ /*! * \file beidou_b1i_telemetry_decoder_gs.cc - * \brief Implementation of an adapter of a BEIDOU BI1 DNAV data decoder block - * to a TelemetryDecoderInterface + * \brief Implementation of a BEIDOU BI1 DNAV data decoder block * \note Code added as part of GSoC 2018 program * \author Damian Miralles, 2018. dmiralles2009(at)gmail.com * \author Sergi Segura, 2018. sergi.segura.munoz(at)gmail.es @@ -33,13 +32,22 @@ #include "beidou_b1i_telemetry_decoder_gs.h" +#include "Beidou_B1I.h" +#include "beidou_dnav_almanac.h" +#include "beidou_dnav_ephemeris.h" +#include "beidou_dnav_utc_model.h" #include "convolutional.h" #include "display.h" #include "gnss_synchro.h" #include #include +#include // for make_any +#include // for mp #include -#include +#include // for abs +#include // for exception +#include // for cout +#include // for shared_ptr, make_shared #define CRC_ERROR_LIMIT 8 diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/beidou_b1i_telemetry_decoder_gs.h b/src/algorithms/telemetry_decoder/gnuradio_blocks/beidou_b1i_telemetry_decoder_gs.h index 0cd2da284..e38bfd206 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/beidou_b1i_telemetry_decoder_gs.h +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/beidou_b1i_telemetry_decoder_gs.h @@ -1,9 +1,8 @@ /*! * \file beidou_b1i_telemetry_decoder_gs.h - * \brief Implementation of an adapter of a BEIDOU BI1 DNAV data decoder block - * to a TelemetryDecoderInterface - * \details Code added as part of GSoC 2018 program. However new modifications included to mimic - * decoding of existing signals + * \brief Implementation of a BEIDOU BI1 DNAV data decoder block + * \details Code added as part of GSoC 2018 program. However new modifications + * included to mimic decoding of existing signals * \author Damian Miralles, 2018. dmiralles2009(at)gmail.com * \author Sergi Segura, 2018. sergi.segura.munoz(at)gmail.es * @@ -35,17 +34,16 @@ #ifndef GNSS_SDR_BEIDOU_B1I_TELEMETRY_DECODER_GS_H #define GNSS_SDR_BEIDOU_B1I_TELEMETRY_DECODER_GS_H -#include "Beidou_B1I.h" -#include "beidou_dnav_almanac.h" -#include "beidou_dnav_ephemeris.h" -#include "beidou_dnav_navigation_message.h" -#include "beidou_dnav_utc_model.h" + #include "gnss_satellite.h" -#include "gnss_synchro.h" +#include "beidou_dnav_navigation_message.h" #include #include +#include // for gr_vector_const_void_star #include #include +#include // for boost::shared_ptr +#include class beidou_b1i_telemetry_decoder_gs; diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_telemetry_decoder_gs.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_telemetry_decoder_gs.cc index 36898d1be..c311342f1 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_telemetry_decoder_gs.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_telemetry_decoder_gs.cc @@ -30,13 +30,25 @@ #include "galileo_telemetry_decoder_gs.h" +#include "Galileo_E1.h" // for GALILEO_E1_CODE_PERIOD_MS +#include "Galileo_E5a.h" // for GALILEO_E5A_CODE_PERIO... #include "convolutional.h" #include "display.h" +#include "galileo_almanac_helper.h" // for Galileo_Almanac_Helper +#include "galileo_ephemeris.h" // for Galileo_Ephemeris +#include "galileo_iono.h" // for Galileo_Iono +#include "galileo_utc_model.h" // for Galileo_Utc_Model #include "gnss_synchro.h" #include #include +#include // for make_any +#include // for mp #include -#include +#include // for fmod +#include // for abs +#include // for exception +#include // for cout +#include // for shared_ptr, make_shared #define CRC_ERROR_LIMIT 6 diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_telemetry_decoder_gs.h b/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_telemetry_decoder_gs.h index 83dc8118a..89988f8d6 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_telemetry_decoder_gs.h +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_telemetry_decoder_gs.h @@ -33,20 +33,23 @@ #define GNSS_SDR_GALILEO_TELEMETRY_DECODER_GS_H -#include "Galileo_E1.h" -#include "Galileo_E5a.h" -#include "galileo_almanac_helper.h" -#include "galileo_ephemeris.h" +//#include "Galileo_E1.h" +//#include "Galileo_E5a.h" +//#include "galileo_almanac_helper.h" +//#include "galileo_ephemeris.h" #include "galileo_fnav_message.h" -#include "galileo_iono.h" +#include // for boost::shared_ptr +#include // for gr_vector_const_void_star +//#include "galileo_iono.h" #include "galileo_navigation_message.h" -#include "galileo_utc_model.h" +//#include "galileo_utc_model.h" #include "gnss_satellite.h" -#include "gnss_synchro.h" +//#include "gnss_synchro.h" #include #include #include #include +#include class galileo_telemetry_decoder_gs; diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l1_ca_telemetry_decoder_gs.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l1_ca_telemetry_decoder_gs.cc index f859d1644..535917043 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l1_ca_telemetry_decoder_gs.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l1_ca_telemetry_decoder_gs.cc @@ -1,7 +1,6 @@ /*! * \file glonass_l1_ca_telemetry_decoder_gs.cc - * \brief Implementation of an adapter of a GLONASS L1 C/A NAV data decoder block - * to a TelemetryDecoderInterface + * \brief Implementation of a GLONASS L1 C/A NAV data decoder block * \note Code added as part of GSoC 2017 program * \author Damian Miralles, 2017. dmiralles2009(at)gmail.com * @@ -32,9 +31,20 @@ #include "glonass_l1_ca_telemetry_decoder_gs.h" +#include "glonass_gnav_almanac.h" +#include "glonass_gnav_ephemeris.h" +#include "glonass_gnav_utc_model.h" +#include "gnss_synchro.h" #include #include - +#include // for make_any +#include // for mp +#include // for floor, round +#include // for abs, malloc +#include // for memcpy +#include // for exception +#include // for cout +#include // for shared_ptr, make_shared #define CRC_ERROR_LIMIT 6 diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l1_ca_telemetry_decoder_gs.h b/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l1_ca_telemetry_decoder_gs.h index b8cf5f25a..bdf1fd0d2 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l1_ca_telemetry_decoder_gs.h +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l1_ca_telemetry_decoder_gs.h @@ -1,7 +1,6 @@ /*! * \file glonass_l1_ca_telemetry_decoder_gs.h - * \brief Implementation of an adapter of a GLONASS L1 C/A NAV data decoder block - * to a TelemetryDecoderInterface + * \brief Implementation of a GLONASS L1 C/A NAV data decoder block * \note Code added as part of GSoC 2017 program * \author Damian Miralles, 2017. dmiralles2009(at)gmail.com * @@ -35,17 +34,17 @@ #include "GLONASS_L1_L2_CA.h" -#include "glonass_gnav_almanac.h" -#include "glonass_gnav_ephemeris.h" #include "glonass_gnav_navigation_message.h" -#include "glonass_gnav_utc_model.h" #include "gnss_satellite.h" -#include "gnss_synchro.h" #include -#include -#include +#include // for boost::shared_ptr +#include // for block +#include // for gr_vector_const_void_star +#include +#include // for ofstream #include +class Gnss_Synchro; class glonass_l1_ca_telemetry_decoder_gs; diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l2_ca_telemetry_decoder_gs.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l2_ca_telemetry_decoder_gs.cc index 2b996d987..8d901cb3a 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l2_ca_telemetry_decoder_gs.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l2_ca_telemetry_decoder_gs.cc @@ -1,7 +1,6 @@ /*! * \file glonass_l2_ca_telemetry_decoder_gs.cc - * \brief Implementation of an adapter of a GLONASS L1 C/A NAV data decoder block - * to a TelemetryDecoderInterface + * \brief Implementation of a GLONASS L2 C/A NAV data decoder block * \author Damian Miralles, 2018. dmiralles2009(at)gmail.com * * ------------------------------------------------------------------------- @@ -32,9 +31,20 @@ #include "glonass_l2_ca_telemetry_decoder_gs.h" #include "display.h" +#include "glonass_gnav_almanac.h" +#include "glonass_gnav_ephemeris.h" +#include "glonass_gnav_utc_model.h" +#include "gnss_synchro.h" #include #include - +#include // for make_any +#include // for mp +#include // for floor, round +#include // for abs, malloc +#include // for memcpy +#include // for exception +#include // for cout +#include // for shared_ptr, make_shared #define CRC_ERROR_LIMIT 6 diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l2_ca_telemetry_decoder_gs.h b/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l2_ca_telemetry_decoder_gs.h index 13ec3876c..f4ba8c231 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l2_ca_telemetry_decoder_gs.h +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/glonass_l2_ca_telemetry_decoder_gs.h @@ -1,7 +1,6 @@ /*! * \file glonass_l2_ca_telemetry_decoder_gs.h - * \brief Implementation of an adapter of a GLONASS L2 C/A NAV data decoder block - * to a TelemetryDecoderInterface + * \brief Implementation of a GLONASS L2 C/A NAV data decoder block * \author Damian Miralles, 2018. dmiralles2009(at)gmail.com * * ------------------------------------------------------------------------- @@ -34,18 +33,19 @@ #include "GLONASS_L1_L2_CA.h" -#include "glonass_gnav_almanac.h" -#include "glonass_gnav_ephemeris.h" #include "glonass_gnav_navigation_message.h" -#include "glonass_gnav_utc_model.h" #include "gnss_satellite.h" -#include "gnss_synchro.h" #include +#include // for boost::shared_ptr #include +#include // for gr_vector_const_void_star +#include #include #include +class Gnss_Synchro; + class glonass_l2_ca_telemetry_decoder_gs; using glonass_l2_ca_telemetry_decoder_gs_sptr = boost::shared_ptr; @@ -53,10 +53,10 @@ using glonass_l2_ca_telemetry_decoder_gs_sptr = boost::shared_ptrGLONASS ICD - * - */ +* \brief This class implements a block that decodes the GNAV data defined in GLONASS ICD v5.1 +* \see GLONASS ICD +* +*/ class glonass_l2_ca_telemetry_decoder_gs : public gr::block { public: @@ -65,8 +65,8 @@ public: void set_channel(int32_t channel); //!< Set receiver's channel /*! - * \brief This is where all signal processing takes place - */ + * \brief This is where all signal processing takes place + */ int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items); diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.cc index e9f925def..e12aa6b89 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.cc @@ -30,9 +30,20 @@ */ #include "gps_l1_ca_telemetry_decoder_gs.h" +#include "gnss_synchro.h" +#include "gps_ephemeris.h" // for Gps_Ephemeris +#include "gps_iono.h" // for Gps_Iono +#include "gps_utc_model.h" // for Gps_Utc_Model #include #include +#include // for make_any +#include // for mp #include +#include // for round +#include // for memcpy +#include // for exception +#include // for cout +#include // for shared_ptr #ifndef _rotl diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.h b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.h index 38c51af5f..135311b4d 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.h +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_gs.h @@ -33,12 +33,16 @@ #include "GPS_L1_CA.h" #include "gnss_satellite.h" -#include "gnss_synchro.h" #include "gps_navigation_message.h" #include -#include -#include -#include +#include // for boost::shared_ptr +#include // for block +#include // for gr_vector_const_void_star +#include // for int32_t +#include // for ofstream +#include // for string + +class Gnss_Synchro; class gps_l1_ca_telemetry_decoder_gs; diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l2c_telemetry_decoder_gs.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l2c_telemetry_decoder_gs.cc index e8cc9b830..246173919 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l2c_telemetry_decoder_gs.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l2c_telemetry_decoder_gs.cc @@ -31,13 +31,21 @@ #include "gps_l2c_telemetry_decoder_gs.h" +#include "GPS_L2C.h" // for GPS_L2_CNAV_DATA_PAGE_BITS, GPS_L... #include "display.h" #include "gnss_synchro.h" +#include "gps_cnav_ephemeris.h" // for Gps_CNAV_Ephemeris +#include "gps_cnav_iono.h" // for Gps_CNAV_Iono +#include "gps_cnav_utc_model.h" // for Gps_CNAV_Utc_Model #include #include -#include -#include -#include +#include // for make_any +#include // for mp +#include // for bitset +#include // for round +#include // for exception +#include // for cout +#include // for shared_ptr, make_shared gps_l2c_telemetry_decoder_gs_sptr diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l2c_telemetry_decoder_gs.h b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l2c_telemetry_decoder_gs.h index 4503753eb..241ac81e7 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l2c_telemetry_decoder_gs.h +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l2c_telemetry_decoder_gs.h @@ -32,24 +32,18 @@ #define GNSS_SDR_GPS_L2C_TELEMETRY_DECODER_GS_H -#include "GPS_L2C.h" #include "gnss_satellite.h" -#include "gps_cnav_ephemeris.h" -#include "gps_cnav_iono.h" #include "gps_cnav_navigation_message.h" +#include // for boost::shared_ptr #include -#include // for copy +#include // for gr_vector_const_void_star #include #include #include -#include // for pair -#include extern "C" { -#include "bits.h" #include "cnav_msg.h" -#include "edc.h" } diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l5_telemetry_decoder_gs.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l5_telemetry_decoder_gs.cc index f6560157a..a70aaebb1 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l5_telemetry_decoder_gs.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l5_telemetry_decoder_gs.cc @@ -34,11 +34,16 @@ #include "gnss_synchro.h" #include "gps_cnav_ephemeris.h" #include "gps_cnav_iono.h" +#include "gps_cnav_utc_model.h" // for Gps_CNAV_Utc_Model #include #include +#include // for make_any +#include // for mp #include +#include // for abs +#include // for exception #include -#include +#include // for shared_ptr, make_shared gps_l5_telemetry_decoder_gs_sptr diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l5_telemetry_decoder_gs.h b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l5_telemetry_decoder_gs.h index c8f55eb8f..e3fbd2e05 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l5_telemetry_decoder_gs.h +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l5_telemetry_decoder_gs.h @@ -31,23 +31,20 @@ #define GNSS_SDR_GPS_L5_TELEMETRY_DECODER_GS_H -#include "GPS_L5.h" -#include "gnss_satellite.h" -#include "gps_cnav_navigation_message.h" +#include "GPS_L5.h" // for GPS_L5I_NH_CODE_LENGTH +#include "gnss_satellite.h" // for Gnss_Satellite +#include "gps_cnav_navigation_message.h" // for Gps_CNAV_Navigation_Message #include +#include // for boost::shared_ptr #include -#include +#include // for gr_vector_const_void_star #include #include #include -#include -#include extern "C" { -#include "bits.h" #include "cnav_msg.h" -#include "edc.h" } diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/sbas_l1_telemetry_decoder_gs.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/sbas_l1_telemetry_decoder_gs.cc index c33e85116..30da62d4f 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/sbas_l1_telemetry_decoder_gs.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/sbas_l1_telemetry_decoder_gs.cc @@ -30,10 +30,13 @@ #include "sbas_l1_telemetry_decoder_gs.h" #include "gnss_synchro.h" +#include "viterbi_decoder.h" #include #include -#include - +#include // for mp +#include // for abs +#include // for exception +#include // for operator<<, setw // logging levels #define EVENT 2 // logs important events which don't occur every block diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/sbas_l1_telemetry_decoder_gs.h b/src/algorithms/telemetry_decoder/gnuradio_blocks/sbas_l1_telemetry_decoder_gs.h index d0c9a25dc..bf9742a91 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/sbas_l1_telemetry_decoder_gs.h +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/sbas_l1_telemetry_decoder_gs.h @@ -32,10 +32,12 @@ #define GNSS_SDR_SBAS_L1_TELEMETRY_DECODER_GS_H #include "gnss_satellite.h" -#include "viterbi_decoder.h" #include +#include // for boost::shared_ptr #include -#include // for copy +#include // for gr_vector_const_void_star +#include // for copy +#include // for size_t #include #include #include @@ -43,6 +45,7 @@ #include // for pair #include +class Viterbi_Decoder; class sbas_l1_telemetry_decoder_gs;