18 #ifndef GNSS_SDR_BEIDOU_DNAV_EPHEMERIS_H 19 #define GNSS_SDR_BEIDOU_DNAV_EPHEMERIS_H 22 #include <boost/serialization/nvp.hpp> 81 template <
class Archive>
87 void serialize(Archive& archive,
const unsigned int version)
89 using boost::serialization::make_nvp;
94 archive& BOOST_SERIALIZATION_NVP(
PRN);
95 archive& BOOST_SERIALIZATION_NVP(
M_0);
96 archive& BOOST_SERIALIZATION_NVP(
delta_n);
97 archive& BOOST_SERIALIZATION_NVP(
ecc);
98 archive& BOOST_SERIALIZATION_NVP(
sqrtA);
99 archive& BOOST_SERIALIZATION_NVP(
OMEGA_0);
100 archive& BOOST_SERIALIZATION_NVP(
i_0);
101 archive& BOOST_SERIALIZATION_NVP(
omega);
102 archive& BOOST_SERIALIZATION_NVP(
OMEGAdot);
103 archive& BOOST_SERIALIZATION_NVP(
idot);
104 archive& BOOST_SERIALIZATION_NVP(
Cuc);
105 archive& BOOST_SERIALIZATION_NVP(
Cus);
106 archive& BOOST_SERIALIZATION_NVP(
Crc);
107 archive& BOOST_SERIALIZATION_NVP(
Crs);
108 archive& BOOST_SERIALIZATION_NVP(
Cic);
109 archive& BOOST_SERIALIZATION_NVP(
Cis);
110 archive& BOOST_SERIALIZATION_NVP(
toe);
111 archive& BOOST_SERIALIZATION_NVP(
toc);
112 archive& BOOST_SERIALIZATION_NVP(
af0);
113 archive& BOOST_SERIALIZATION_NVP(
af1);
114 archive& BOOST_SERIALIZATION_NVP(
af2);
115 archive& BOOST_SERIALIZATION_NVP(
WN);
116 archive& BOOST_SERIALIZATION_NVP(
tow);
118 archive& BOOST_SERIALIZATION_NVP(
dtr);
120 archive& BOOST_SERIALIZATION_NVP(
AODE);
122 archive& BOOST_SERIALIZATION_NVP(SV_health);
123 archive& BOOST_SERIALIZATION_NVP(
AODC);
124 archive& BOOST_SERIALIZATION_NVP(
TGD1);
125 archive& BOOST_SERIALIZATION_NVP(
TGD2);
126 archive& BOOST_SERIALIZATION_NVP(
sig_type);
127 archive& BOOST_SERIALIZATION_NVP(
nav_type);
128 archive& BOOST_SERIALIZATION_NVP(
AODO);
130 archive& BOOST_SERIALIZATION_NVP(spare1);
131 archive& BOOST_SERIALIZATION_NVP(spare2);
141 #endif // GNSS_SDR_BEIDOU_DNAV_EPHEMERIS_H int sig_type
BDS: data source (0:unknown,1:B1I,2:B1Q,3:B2I,4:B2Q,5:B3I,6:B3Q) */.
int AODO
Age of Data Offset (AODO) term for the navigation message correction table (NMCT) contained in subfra...
double AODE
Age of Data, Ephemeris.
double i_0
Inclination angle at reference time [rad].
int nav_type
BDS: nav type (0:unknown,1:IGSO/MEO,2:GEO) */.
double TGD2
Estimated Group Delay Differential on B2I [s].
double AODC
Age of Data, Clock.
double OMEGA_0
Longitude of ascending node of orbital plane at weekly epoch [rad].
int32_t toc
Clock correction data reference Time of Week [sec].
double Crc
Amplitude of the cosine harmonic correction term to the orbit radius [meters].
bool antispoofing_flag
If true, the AntiSpoofing mode is ON in that SV.
double af2
SV clock drift rate correction coefficient [s/s^2].
void serialize(Archive &archive, const unsigned int version)
Serialize is a boost standard method to be called by the boost XML serialization. Here is used to sav...
double TGD1
Estimated Group Delay Differential on B1I [s].
This is a storage class for the Beidou SV ephemeris data as described in BeiDou Navigation Satellite ...
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...
double Cis
Amplitude of the sine harmonic correction term to the angle of inclination [rad]. ...
std::map< int, std::string > satelliteBlock
Map that stores to which block the PRN belongs.
int SV_accuracy
User Range Accuracy (URA) index of the SV (reference paragraph 5.2.4.5) for the standard positioning ...
double af0
SV clock bias correction coefficient [s].
Base class for GNSS Ephemeris.
double M_0
Mean anomaly at reference time [rad].
bool integrity_status_flag
If true, enhanced level of integrity assurance.
int32_t toe
Ephemeris reference time [s].
double Cus
Amplitude of the sine harmonic correction term to the argument of latitude [rad]. ...
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].
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].
bool fit_interval_flag
Curve-fit interval used by the CS (Block II/IIA/IIR/IIR-M/IIF) and SS (Block IIIA) in determining the...
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].