22 #ifndef GNSS_SDR_GPS_NAVIGATION_MESSAGE_H 23 #define GNSS_SDR_GPS_NAVIGATION_MESSAGE_H 75 double utc_time(
const double gpstime_corrected)
const;
98 i_satellite_PRN = prn;
106 return i_satellite_PRN;
114 i_channel_ID = channel_id;
122 return flag_iono_valid;
130 return flag_utc_model_valid;
133 bool satellite_validation();
136 uint64_t read_navigation_unsigned(std::bitset<GPS_SUBFRAME_BITS> bits,
const std::vector<std::pair<int32_t, int32_t>>& parameter)
const;
137 int64_t read_navigation_signed(std::bitset<GPS_SUBFRAME_BITS> bits,
const std::vector<std::pair<int32_t, int32_t>>& parameter)
const;
138 bool read_navigation_bool(std::bitset<GPS_SUBFRAME_BITS> bits,
const std::vector<std::pair<int32_t, int32_t>>& parameter)
const;
139 void print_gps_word_bytes(uint32_t GPS_word)
const;
141 std::map<int32_t, int32_t> almanacHealth;
143 std::map<int32_t, std::string> satelliteBlock;
152 int32_t d_IODE_SF2{};
153 int32_t d_IODE_SF3{};
159 double d_e_eccentricity{};
172 double d_OMEGA_DOT{};
175 int32_t i_code_on_L2{};
176 int32_t i_GPS_week{};
177 bool b_L2_P_data_flag{};
179 int32_t i_SV_accuracy{};
180 int32_t i_SV_health{};
185 bool b_fit_interval_flag{};
200 double d_satClkDrift{};
213 int32_t i_channel_ID{};
214 uint32_t i_satellite_PRN{};
232 int32_t d_DeltaT_LS{};
235 int32_t d_DeltaT_LSF{};
238 bool b_valid_ephemeris_set_flag{};
239 bool flag_iono_valid{};
240 bool flag_utc_model_valid{};
252 bool b_integrity_status_flag{};
254 bool b_antispoofing_flag{};
This class is a storage for the GPS IONOSPHERIC data as described in IS-GPS-200K. ...
Gps_Ephemeris get_ephemeris() const
Obtain a GPS SV Ephemeris class filled with current SV data.
Gps_Utc_Model get_utc_model()
Obtain a GPS UTC model parameters class filled with current SV data.
double utc_time(const double gpstime_corrected) const
Computes the Coordinated Universal Time (UTC) and returns it in s
int32_t subframe_decoder(char *subframe)
Decodes the GPS NAV message.
This class is a storage and orbital model functions for the GPS SV ephemeris data as described in IS-...
Defines system parameters for GPS L1 C/A signal and NAV data.
Interface of a GPS UTC MODEL storage.
Gps_Iono get_iono()
Obtain a GPS ionospheric correction parameters class filled with current SV data. ...
void set_channel(int32_t channel_id)
Sets channel ID.
bool get_flag_utc_model_valid() const
Gets flag_utc_model_valid.
bool get_flag_iono_valid() const
Gets flag_iono_valid.
This class decodes a GPS NAV Data message as described in IS-GPS-200K.
Interface of a GPS EPHEMERIS storage.
This class is a storage for the GPS UTC MODEL data as described in IS-GPS-200K.
uint32_t get_satellite_PRN() const
Gets satellite PRN number.
void set_satellite_PRN(uint32_t prn)
Sets satellite PRN number.
int32_t get_GPS_week() const
Sets Time of Week, in seconds.
int32_t get_TOW() const
Gets Time of Week, in seconds.
Interface of a GPS IONOSPHERIC MODEL storage.