From 3aa97191dfe1cbbb71611ef4158afa9c68ebe8d2 Mon Sep 17 00:00:00 2001 From: Mathieu Favreau Date: Wed, 23 Jul 2025 20:58:58 +0000 Subject: [PATCH] Rename file --- src/algorithms/PVT/adapters/rtklib_pvt.cc | 2 +- src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_gs.cc | 2 +- src/algorithms/PVT/libs/CMakeLists.txt | 4 ++-- src/algorithms/PVT/libs/rinex_printer.cc | 2 +- src/algorithms/PVT/libs/rtcm_printer.cc | 2 +- src/algorithms/PVT/libs/rtklib_solver.cc | 2 +- .../libs/{receiver_type.cc => signal_enabled_flags.cc} | 6 +++--- .../libs/{receiver_type.h => signal_enabled_flags.h} | 10 +++++----- .../signal-processing-blocks/pvt/nmea_printer_test.cc | 2 +- .../signal-processing-blocks/pvt/rinex_printer_test.cc | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) rename src/algorithms/PVT/libs/{receiver_type.cc => signal_enabled_flags.cc} (94%) rename src/algorithms/PVT/libs/{receiver_type.h => signal_enabled_flags.h} (88%) diff --git a/src/algorithms/PVT/adapters/rtklib_pvt.cc b/src/algorithms/PVT/adapters/rtklib_pvt.cc index 73d9cb84f..0751a0404 100644 --- a/src/algorithms/PVT/adapters/rtklib_pvt.cc +++ b/src/algorithms/PVT/adapters/rtklib_pvt.cc @@ -25,8 +25,8 @@ #include "gps_almanac.h" // for Gps_Almanac #include "gps_ephemeris.h" // for Gps_Ephemeris #include "pvt_conf.h" // for Pvt_Conf -#include "receiver_type.h" // for get_type_of_receiver #include "rtklib_rtkpos.h" // for rtkfree, rtkinit +#include "signal_enabled_flags.h" // for get_type_of_receiver #include // for std::cout #if USE_GLOG_AND_GFLAGS #include diff --git a/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_gs.cc b/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_gs.cc index 6925152f2..e79db7d8c 100644 --- a/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_gs.cc +++ b/src/algorithms/PVT/gnuradio_blocks/rtklib_pvt_gs.cc @@ -54,11 +54,11 @@ #include "nmea_printer.h" #include "osnma_data.h" #include "pvt_conf.h" -#include "receiver_type.h" #include "rinex_printer.h" #include "rtcm_printer.h" #include "rtklib_rtkcmn.h" #include "rtklib_solver.h" +#include "signal_enabled_flags.h" #include "trackingcmd.h" #include // for xml_iarchive #include // for xml_oarchive diff --git a/src/algorithms/PVT/libs/CMakeLists.txt b/src/algorithms/PVT/libs/CMakeLists.txt index 7a98f50ad..ae65cab84 100644 --- a/src/algorithms/PVT/libs/CMakeLists.txt +++ b/src/algorithms/PVT/libs/CMakeLists.txt @@ -24,7 +24,7 @@ set(PVT_LIB_SOURCES has_simple_printer.cc geohash.cc pvt_kf.cc - receiver_type.cc + signal_enabled_flags.cc ) set(PVT_LIB_HEADERS @@ -48,7 +48,7 @@ set(PVT_LIB_HEADERS has_simple_printer.h geohash.h pvt_kf.h - receiver_type.h + signal_enabled_flags.h ) list(SORT PVT_LIB_HEADERS) diff --git a/src/algorithms/PVT/libs/rinex_printer.cc b/src/algorithms/PVT/libs/rinex_printer.cc index c8b7ce453..37e47c192 100644 --- a/src/algorithms/PVT/libs/rinex_printer.cc +++ b/src/algorithms/PVT/libs/rinex_printer.cc @@ -35,8 +35,8 @@ #include "gps_iono.h" #include "gps_navigation_message.h" #include "gps_utc_model.h" -#include "receiver_type.h" #include "rtklib_solver.h" +#include "signal_enabled_flags.h" #include #include #include diff --git a/src/algorithms/PVT/libs/rtcm_printer.cc b/src/algorithms/PVT/libs/rtcm_printer.cc index 3265739b3..d7bd3ba3c 100644 --- a/src/algorithms/PVT/libs/rtcm_printer.cc +++ b/src/algorithms/PVT/libs/rtcm_printer.cc @@ -27,9 +27,9 @@ #include "gnss_synchro.h" #include "gps_cnav_ephemeris.h" #include "gps_ephemeris.h" -#include "receiver_type.h" #include "rtcm.h" #include "rtklib_solver.h" +#include "signal_enabled_flags.h" #include #include // for tm #include // for exception diff --git a/src/algorithms/PVT/libs/rtklib_solver.cc b/src/algorithms/PVT/libs/rtklib_solver.cc index 95aa27263..c61df11d5 100644 --- a/src/algorithms/PVT/libs/rtklib_solver.cc +++ b/src/algorithms/PVT/libs/rtklib_solver.cc @@ -33,8 +33,8 @@ #include "rtklib_solver.h" #include "Beidou_DNAV.h" #include "gnss_sdr_filesystem.h" -#include "receiver_type.h" #include "rtklib_rtkpos.h" +#include "signal_enabled_flags.h" #include #include #include diff --git a/src/algorithms/PVT/libs/receiver_type.cc b/src/algorithms/PVT/libs/signal_enabled_flags.cc similarity index 94% rename from src/algorithms/PVT/libs/receiver_type.cc rename to src/algorithms/PVT/libs/signal_enabled_flags.cc index cd04705a2..d7cd8a324 100644 --- a/src/algorithms/PVT/libs/receiver_type.cc +++ b/src/algorithms/PVT/libs/signal_enabled_flags.cc @@ -1,6 +1,6 @@ /*! - * \file receiver_type.cc - * \brief Helper function to get the receiver type + * \file signal_enabled_flags.cc + * \brief Class to check the enabled signals * \author Mathieu Favreau, 2025. favreau.mathieu(at)hotmail.com * * ----------------------------------------------------------------------------- @@ -14,7 +14,7 @@ * ----------------------------------------------------------------------------- */ -#include "receiver_type.h" +#include "signal_enabled_flags.h" #include "configuration_interface.h" // for ConfigurationInterface #include // for vector diff --git a/src/algorithms/PVT/libs/receiver_type.h b/src/algorithms/PVT/libs/signal_enabled_flags.h similarity index 88% rename from src/algorithms/PVT/libs/receiver_type.h rename to src/algorithms/PVT/libs/signal_enabled_flags.h index f2e75a0f6..8aae82ed4 100644 --- a/src/algorithms/PVT/libs/receiver_type.h +++ b/src/algorithms/PVT/libs/signal_enabled_flags.h @@ -1,6 +1,6 @@ /*! - * \file receiver_type.h - * \brief Helper function to get the receiver type + * \file signal_enabled_flags.h + * \brief Class to check the enabled signals * \author Mathieu Favreau, 2025. favreau.mathieu(at)hotmail.com * * ----------------------------------------------------------------------------- @@ -14,8 +14,8 @@ * ----------------------------------------------------------------------------- */ -#ifndef GNSS_SDR_RECEIVER_TYPE_H -#define GNSS_SDR_RECEIVER_TYPE_H +#ifndef GNSS_SDR_SIGNAL_ENABLED_FLAGS_H +#define GNSS_SDR_SIGNAL_ENABLED_FLAGS_H #include @@ -69,4 +69,4 @@ public: const uint32_t flags; }; -#endif // GNSS_SDR_RECEIVER_TYPE_H +#endif // GNSS_SDR_SIGNAL_ENABLED_FLAGS_H diff --git a/tests/unit-tests/signal-processing-blocks/pvt/nmea_printer_test.cc b/tests/unit-tests/signal-processing-blocks/pvt/nmea_printer_test.cc index 70f05e714..a87759752 100644 --- a/tests/unit-tests/signal-processing-blocks/pvt/nmea_printer_test.cc +++ b/tests/unit-tests/signal-processing-blocks/pvt/nmea_printer_test.cc @@ -17,9 +17,9 @@ #include "nmea_printer.h" #include "pvt_conf.h" -#include "receiver_type.h" #include "rtklib_rtkpos.h" #include "rtklib_solver.h" +#include "signal_enabled_flags.h" #include #include #include diff --git a/tests/unit-tests/signal-processing-blocks/pvt/rinex_printer_test.cc b/tests/unit-tests/signal-processing-blocks/pvt/rinex_printer_test.cc index 01c325b00..87ab3c425 100644 --- a/tests/unit-tests/signal-processing-blocks/pvt/rinex_printer_test.cc +++ b/tests/unit-tests/signal-processing-blocks/pvt/rinex_printer_test.cc @@ -15,10 +15,10 @@ */ #include "pvt_conf.h" -#include "receiver_type.h" #include "rinex_printer.h" #include "rtklib_rtkpos.h" #include "rtklib_solver.h" +#include "signal_enabled_flags.h" #include #include #include