18 #ifndef GNSS_SDR_GPS_EPHEMERIS_H 19 #define GNSS_SDR_GPS_EPHEMERIS_H 23 #include <boost/serialization/nvp.hpp> 80 template <
class Archive>
86 inline void serialize(Archive& archive,
const uint32_t version)
88 using boost::serialization::make_nvp;
93 archive& BOOST_SERIALIZATION_NVP(
PRN);
94 archive& BOOST_SERIALIZATION_NVP(
M_0);
95 archive& BOOST_SERIALIZATION_NVP(
delta_n);
96 archive& BOOST_SERIALIZATION_NVP(
ecc);
97 archive& BOOST_SERIALIZATION_NVP(
sqrtA);
98 archive& BOOST_SERIALIZATION_NVP(
OMEGA_0);
99 archive& BOOST_SERIALIZATION_NVP(
i_0);
100 archive& BOOST_SERIALIZATION_NVP(
omega);
101 archive& BOOST_SERIALIZATION_NVP(
OMEGAdot);
102 archive& BOOST_SERIALIZATION_NVP(
idot);
103 archive& BOOST_SERIALIZATION_NVP(
Cuc);
104 archive& BOOST_SERIALIZATION_NVP(
Cus);
105 archive& BOOST_SERIALIZATION_NVP(
Crc);
106 archive& BOOST_SERIALIZATION_NVP(
Crs);
107 archive& BOOST_SERIALIZATION_NVP(
Cic);
108 archive& BOOST_SERIALIZATION_NVP(
Cis);
109 archive& BOOST_SERIALIZATION_NVP(
toe);
110 archive& BOOST_SERIALIZATION_NVP(
toc);
111 archive& BOOST_SERIALIZATION_NVP(
af0);
112 archive& BOOST_SERIALIZATION_NVP(
af1);
113 archive& BOOST_SERIALIZATION_NVP(
af2);
114 archive& BOOST_SERIALIZATION_NVP(
WN);
115 archive& BOOST_SERIALIZATION_NVP(
tow);
117 archive& BOOST_SERIALIZATION_NVP(
dtr);
119 archive& BOOST_SERIALIZATION_NVP(
IODE_SF2);
120 archive& BOOST_SERIALIZATION_NVP(
IODE_SF3);
124 archive& BOOST_SERIALIZATION_NVP(
SV_health);
125 archive& BOOST_SERIALIZATION_NVP(
TGD);
126 archive& BOOST_SERIALIZATION_NVP(
IODC);
127 archive& BOOST_SERIALIZATION_NVP(
AODO);
129 archive& BOOST_SERIALIZATION_NVP(spare1);
130 archive& BOOST_SERIALIZATION_NVP(spare2);
140 #endif // GNSS_SDR_GPS_EPHEMERIS_H 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 sav...
bool alert_flag
If true, indicates that the SV URA may be worse than indicated in d_SV_accuracy, use that SV at our o...
This class is a storage and orbital model functions for the GPS SV ephemeris data as described in IS-...
int32_t code_on_L2
If 1, P code ON in L2; if 2, C/A code ON in L2;.
bool integrity_status_flag
If true, enhanced level of integrity assurance.
int32_t AODO
Age of Data Offset (AODO) term for the navigation message correction table (NMCT) contained in subfra...
int32_t SV_accuracy
User Range Accuracy (URA) index of the SV (reference paragraph 6.2.1) for the standard positioning se...
double i_0
Inclination angle at reference time [rad].
double OMEGA_0
Longitude of ascending node of orbital plane at weekly epoch [rad].
int32_t IODE_SF3
Issue of Data, Ephemeris (IODE), subframe 3.
double TGD
Estimated Group Delay Differential: L1-L2 correction term only for the benefit of "L1 P(Y)" or "L2 P(...
int32_t toc
Clock correction data reference Time of Week [sec].
int32_t IODC
Issue of Data, Clock.
std::map< int, std::string > satelliteBlock
Map that stores to which block the PRN belongs https://www.navcen.uscg.gov/?Do=constellationStatus.
double Crc
Amplitude of the cosine harmonic correction term to the orbit radius [meters].
bool L2_P_data_flag
When true, indicates that the NAV data stream was commanded OFF on the P-code of the L2 channel...
double af2
SV clock drift rate correction coefficient [s/s^2].
bool antispoofing_flag
If true, the AntiSpoofing mode is ON in that SV.
double Cis
Amplitude of the sine harmonic correction term to the angle of inclination [rad]. ...
double af0
SV clock bias correction coefficient [s].
bool fit_interval_flag
indicates the curve-fit interval used by the CS (Block II/IIA/IIR/IIR-M/IIF) and SS (Block IIIA) in d...
Base class for GNSS Ephemeris.
double M_0
Mean anomaly at reference time [rad].
int32_t toe
Ephemeris reference time [s].
double Cus
Amplitude of the sine harmonic correction term to the argument of latitude [rad]. ...
int32_t SV_health
Satellite heath status.
double OMEGAdot
Rate of right ascension [rad/sec].
double delta_n
Mean motion difference from computed value [rad/sec].
double idot
Rate of inclination angle [rad/sec].
Base class for GNSS ephemeris storage.
double Cic
Amplitude of the cosine harmonic correction term to the angle of inclination [rad].
int32_t IODE_SF2
Issue of Data, Ephemeris (IODE), subframe 2.
double Cuc
Amplitude of the cosine harmonic correction term to the argument of latitude [rad].
double omega
Argument of perigee [rad].
double af1
SV clock drift correction coefficient [s/s].
double Crs
Amplitude of the sine harmonic correction term to the orbit radius [meters].
double satClkDrift
SV clock drift.
double dtr
Relativistic clock correction term.
double sqrtA
Square root of the semi-major axis [meters^1/2].