1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-12-15 04:48:07 +00:00

Remove unused private member

This commit is contained in:
Carles Fernandez
2025-11-21 10:32:38 +01:00
parent b69514a4e6
commit 5b459ed6d2
2 changed files with 1 additions and 16 deletions

View File

@@ -29,18 +29,6 @@
#endif #endif
Glonass_Gnav_Navigation_Message::Glonass_Gnav_Navigation_Message()
{
auto gnss_sat = Gnss_Satellite();
std::string _system("GLONASS");
// TODO SHould number of channels be hardcoded?
for (uint32_t i = 1; i < 14; i++)
{
satelliteBlock[i] = gnss_sat.what_block(_system, i);
}
}
bool Glonass_Gnav_Navigation_Message::CRC_test(std::bitset<GLONASS_GNAV_STRING_BITS>& bits) const bool Glonass_Gnav_Navigation_Message::CRC_test(std::bitset<GLONASS_GNAV_STRING_BITS>& bits) const
{ {
uint32_t sum_bits = 0; uint32_t sum_bits = 0;

View File

@@ -27,7 +27,6 @@
#include "glonass_gnav_utc_model.h" #include "glonass_gnav_utc_model.h"
#include <bitset> #include <bitset>
#include <cstdint> #include <cstdint>
#include <map>
#include <string> #include <string>
#include <utility> // for pair #include <utility> // for pair
#include <vector> // for vector #include <vector> // for vector
@@ -49,7 +48,7 @@ public:
/*! /*!
* Default constructor * Default constructor
*/ */
Glonass_Gnav_Navigation_Message(); Glonass_Gnav_Navigation_Message() = default;
/*! /*!
* \brief Compute CRC for GLONASS GNAV strings * \brief Compute CRC for GLONASS GNAV strings
@@ -178,8 +177,6 @@ private:
Glonass_Gnav_Utc_Model gnav_utc_model{}; // UTC model information Glonass_Gnav_Utc_Model gnav_utc_model{}; // UTC model information
Glonass_Gnav_Almanac gnav_almanac[GLONASS_CA_NBR_SATS]{}; // Almanac information for all 24 satellites Glonass_Gnav_Almanac gnav_almanac[GLONASS_CA_NBR_SATS]{}; // Almanac information for all 24 satellites
std::map<int, std::string> satelliteBlock; // Map that stores to which block the PRN belongs
double d_previous_tb{}; // Previous iode for the Glonass_Gnav_Ephemeris object. Used to determine when new data arrives double d_previous_tb{}; // Previous iode for the Glonass_Gnav_Ephemeris object. Used to determine when new data arrives
double d_previous_Na[GLONASS_CA_NBR_SATS]{}; // Previous time for almanac of the Glonass_Gnav_Almanac object double d_previous_Na[GLONASS_CA_NBR_SATS]{}; // Previous time for almanac of the Glonass_Gnav_Almanac object