diff --git a/CMakeLists.txt b/CMakeLists.txt index 94548314a..82da9bfa3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,7 +145,7 @@ if(NOT ${THIS_IS_A_RELEASE}) PURPOSE "Manage version control, get MINOR_VERSION name for version number." TYPE REQUIRED ) - if(Git_FOUND) + if(GIT_FOUND) # was this info set in the CMake commandline? if(NOT GIT_BRANCH) # no: try to find it @@ -154,7 +154,6 @@ if(NOT ${THIS_IS_A_RELEASE}) WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} OUTPUT_VARIABLE GIT_BRANCH OUTPUT_STRIP_TRAILING_WHITESPACE - OUTPUT_QUIET ERROR_QUIET ) endif(NOT GIT_BRANCH) # was this info set in the CMake commandline? @@ -165,7 +164,6 @@ if(NOT ${THIS_IS_A_RELEASE}) WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} OUTPUT_VARIABLE GIT_COMMIT_HASH OUTPUT_STRIP_TRAILING_WHITESPACE - OUTPUT_QUIET ERROR_QUIET ) endif(NOT GIT_COMMIT_HASH) endif() @@ -2241,4 +2239,4 @@ else() ENABLED_FEATURES DISABLED_FEATURES ) endif() -message(STATUS "GNSS-SDR is ready to be built.") +message(STATUS "GNSS-SDR v${VERSION} is ready to be built.") diff --git a/src/algorithms/PVT/libs/rinex_printer.h b/src/algorithms/PVT/libs/rinex_printer.h index 09acc2c5b..79ad18b94 100644 --- a/src/algorithms/PVT/libs/rinex_printer.h +++ b/src/algorithms/PVT/libs/rinex_printer.h @@ -96,13 +96,13 @@ public: */ ~Rinex_Printer(); - std::fstream obsFile; // satelliteSystem; // observationType; // observationCode; // satelliteSystem; //!< GPS, GLONASS, SBAS payload, Galileo or Beidou + std::map observationType; //!< PSEUDORANGE, CARRIER_PHASE, DOPPLER, SIGNAL_STRENGTH + std::map observationCode; //!< GNSS observation descriptors + std::string stringVersion; //!< RINEX version (2.10/2.11 or 3.01/3.02) std::string navfilename; std::string obsfilename; diff --git a/src/algorithms/PVT/libs/rtcm.h b/src/algorithms/PVT/libs/rtcm.h index 5ff791503..28ef66e71 100644 --- a/src/algorithms/PVT/libs/rtcm.h +++ b/src/algorithms/PVT/libs/rtcm.h @@ -58,7 +58,7 @@ /*! - * This class implements the generation and reading of some Message Types + * \brief This class implements the generation and reading of some Message Types * defined in the RTCM 3.2 Standard, plus some utilities to handle messages. * * Generation of the following Message Types: @@ -89,7 +89,7 @@ class Rtcm { public: - Rtcm(uint16_t port = 2101); //& observables); bool Print_Rtcm_MT1003(const Gps_Ephemeris& gps_eph, const Gps_CNAV_Ephemeris& cnav_eph, double obs_time, const std::map& observables); bool Print_Rtcm_MT1004(const Gps_Ephemeris& gps_eph, const Gps_CNAV_Ephemeris& cnav_eph, double obs_time, const std::map& observables); + /*! * \brief Prints L1-Only GLONASS RTK Observables * \details This GLONASS message type is not generally used or supported; type 1012 is to be preferred. @@ -77,6 +78,7 @@ public: * \return true or false upon operation success */ bool Print_Rtcm_MT1009(const Glonass_Gnav_Ephemeris& glonass_gnav_eph, double obs_time, const std::map& observables); + /*! * \brief Prints Extended L1-Only GLONASS RTK Observables * \details This GLONASS message type is used when only L1 data is present and bandwidth is very tight, often 1012 is used in such cases. @@ -87,6 +89,7 @@ public: * \return true or false upon operation success */ bool Print_Rtcm_MT1010(const Glonass_Gnav_Ephemeris& glonass_gnav_eph, double obs_time, const std::map& observables); + /*! * \brief Prints L1&L2 GLONASS RTK Observables * \details This GLONASS message type is not generally used or supported; type 1012 is to be preferred @@ -98,6 +101,7 @@ public: * \return true or false upon operation success */ bool Print_Rtcm_MT1011(const Glonass_Gnav_Ephemeris& glonass_gnav_ephL1, const Glonass_Gnav_Ephemeris& glonass_gnav_ephL2, double obs_time, const std::map& observables); + /*! * \brief Prints Extended L1&L2 GLONASS RTK Observables * \details This GLONASS message type is the most common observational message type, with L1/L2/SNR content. This is one of the most common messages found. @@ -110,8 +114,9 @@ public: */ bool Print_Rtcm_MT1012(const Glonass_Gnav_Ephemeris& glonass_gnav_ephL1, const Glonass_Gnav_Ephemeris& glonass_gnav_ephL2, double obs_time, const std::map& observables); - bool Print_Rtcm_MT1019(const Gps_Ephemeris& gps_eph); // -DECLARE_string(c); //