GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
Glonass_Gnav_Utc_Model Class Reference

This class is a storage for the GLONASS GNAV UTC MODEL data as described in GLONASS ICD (Edition 5.1). More...

#include <glonass_gnav_utc_model.h>

Public Member Functions

 Glonass_Gnav_Utc_Model ()=default
double utc_time (double glonass_time_corrected) const
 Computes the Coordinated Universal Time (UTC) and returns it in [s] (GLONASS ICD (Edition 5.1) Section 3.3.3 GLONASS Time).
template<class Archive>
void serialize (Archive &archive, const uint32_t version)
 Serialize is a boost standard method to be called by the boost XML serialization. Here is used to save the almanac data on disk file.

Public Attributes

bool valid {}
double d_tau_c {}
 GLONASS time scale correction to UTC(SU) time. [s].
double d_tau_gps {}
 Correction to GPS time to GLONASS time [day].
double d_N_4 {}
 Four year interval number starting from 1996 [4 year interval].
double d_N_A {}
 Calendar day number within the four-year period beginning since the leap year for Almanac data [days].
double d_B1 {}
 Coefficient to determine DeltaUT1 [s].
double d_B2 {}
 Coefficient to determine DeltaUT1 [s/msd].

Detailed Description

This class is a storage for the GLONASS GNAV UTC MODEL data as described in GLONASS ICD (Edition 5.1).

Note
Code added as part of GSoC 2017 program
See also
GLONASS ICD

Definition at line 37 of file glonass_gnav_utc_model.h.

Constructor & Destructor Documentation

◆ Glonass_Gnav_Utc_Model()

Glonass_Gnav_Utc_Model::Glonass_Gnav_Utc_Model ( )
default

Default constructor

Member Function Documentation

◆ serialize()

template<class Archive>
void Glonass_Gnav_Utc_Model::serialize ( Archive & archive,
const uint32_t version )
inline

Serialize is a boost standard method to be called by the boost XML serialization. Here is used to save the almanac data on disk file.

Definition at line 65 of file glonass_gnav_utc_model.h.

References d_B1, d_B2, d_N_4, d_N_A, d_tau_c, and d_tau_gps.

◆ utc_time()

double Glonass_Gnav_Utc_Model::utc_time ( double glonass_time_corrected) const

Computes the Coordinated Universal Time (UTC) and returns it in [s] (GLONASS ICD (Edition 5.1) Section 3.3.3 GLONASS Time).

Member Data Documentation

◆ d_B1

double Glonass_Gnav_Utc_Model::d_B1 {}

Coefficient to determine DeltaUT1 [s].

Definition at line 51 of file glonass_gnav_utc_model.h.

Referenced by serialize().

◆ d_B2

double Glonass_Gnav_Utc_Model::d_B2 {}

Coefficient to determine DeltaUT1 [s/msd].

Definition at line 52 of file glonass_gnav_utc_model.h.

Referenced by serialize().

◆ d_N_4

double Glonass_Gnav_Utc_Model::d_N_4 {}

Four year interval number starting from 1996 [4 year interval].

Definition at line 49 of file glonass_gnav_utc_model.h.

Referenced by serialize().

◆ d_N_A

double Glonass_Gnav_Utc_Model::d_N_A {}

Calendar day number within the four-year period beginning since the leap year for Almanac data [days].

Definition at line 50 of file glonass_gnav_utc_model.h.

Referenced by serialize().

◆ d_tau_c

double Glonass_Gnav_Utc_Model::d_tau_c {}

GLONASS time scale correction to UTC(SU) time. [s].

Definition at line 47 of file glonass_gnav_utc_model.h.

Referenced by serialize().

◆ d_tau_gps

double Glonass_Gnav_Utc_Model::d_tau_gps {}

Correction to GPS time to GLONASS time [day].

Definition at line 48 of file glonass_gnav_utc_model.h.

Referenced by serialize().

◆ valid

bool Glonass_Gnav_Utc_Model::valid {}

Definition at line 45 of file glonass_gnav_utc_model.h.


The documentation for this class was generated from the following file: