19 #ifndef GNSS_SDR_GALILEO_EPHEMERIS_H 20 #define GNSS_SDR_GALILEO_EPHEMERIS_H 22 #include <boost/serialization/nvp.hpp> 48 int32_t IOD_ephemeris{};
50 int32_t SV_ID_PRN_4{};
78 double Galileo_satClkDrift{};
104 bool flag_all_ephemeris{};
106 template <
class Archive>
111 inline void serialize(Archive& archive,
const uint32_t version)
119 archive& BOOST_SERIALIZATION_NVP(
M0_1);
120 archive& BOOST_SERIALIZATION_NVP(
delta_n_3);
121 archive& BOOST_SERIALIZATION_NVP(
e_1);
122 archive& BOOST_SERIALIZATION_NVP(
A_1);
123 archive& BOOST_SERIALIZATION_NVP(
OMEGA_0_2);
124 archive& BOOST_SERIALIZATION_NVP(
i_0_2);
125 archive& BOOST_SERIALIZATION_NVP(
omega_2);
127 archive& BOOST_SERIALIZATION_NVP(
iDot_2);
128 archive& BOOST_SERIALIZATION_NVP(
C_uc_3);
129 archive& BOOST_SERIALIZATION_NVP(
C_us_3);
130 archive& BOOST_SERIALIZATION_NVP(
C_rc_3);
131 archive& BOOST_SERIALIZATION_NVP(
C_rs_3);
132 archive& BOOST_SERIALIZATION_NVP(
C_ic_4);
133 archive& BOOST_SERIALIZATION_NVP(
C_is_4);
134 archive& BOOST_SERIALIZATION_NVP(
t0e_1);
136 archive& BOOST_SERIALIZATION_NVP(
t0c_4);
137 archive& BOOST_SERIALIZATION_NVP(
af0_4);
138 archive& BOOST_SERIALIZATION_NVP(
af1_4);
139 archive& BOOST_SERIALIZATION_NVP(
af2_4);
141 archive& BOOST_SERIALIZATION_NVP(
WN_5);
142 archive& BOOST_SERIALIZATION_NVP(
TOW_5);
143 archive& BOOST_SERIALIZATION_NVP(Galileo_satClkDrift);
146 archive& BOOST_SERIALIZATION_NVP(IOD_ephemeris);
147 archive& BOOST_SERIALIZATION_NVP(IOD_nav_1);
149 archive& BOOST_SERIALIZATION_NVP(SISA_3);
150 archive& BOOST_SERIALIZATION_NVP(
E5a_HS);
151 archive& BOOST_SERIALIZATION_NVP(
E5b_HS_5);
152 archive& BOOST_SERIALIZATION_NVP(
E1B_HS_5);
153 archive& BOOST_SERIALIZATION_NVP(
E5a_DVS);
154 archive& BOOST_SERIALIZATION_NVP(
E5b_DVS_5);
155 archive& BOOST_SERIALIZATION_NVP(
E1B_DVS_5);
160 archive& BOOST_SERIALIZATION_NVP(flag_all_ephemeris);
170 double check_t(
double time);
176 #endif // GNSS_SDR_GALILEO_EPHEMERIS_H int32_t E1B_HS_5
E1B Signal Health Status.
bool E5b_DVS_5
E5b Data Validity Status.
double C_is_4
Amplitude of the sine harmonic correction term to the angle of inclination [radians].
uint32_t i_satellite_PRN
SV PRN NUMBER.
int32_t E5a_HS
E5a Signal Health Status.
int32_t t0c_4
Clock correction data reference Time of Week [sec].
double d_satpos_Z
Earth-fixed coordinate z of the satellite [m]. The direction of the IERS (International Earth Rotatio...
double C_uc_3
Amplitude of the cosine harmonic correction term to the argument of latitude [radians].
double OMEGA_0_2
Longitude of ascending node of orbital plane at weekly epoch [semi-circles].
double Galileo_System_Time(double WN, double TOW)
Galileo System Time (GST), ICD paragraph 5.1.2.
double C_us_3
Amplitude of the sine harmonic correction term to the argument of latitude [radians].
bool E5a_DVS
E5a Data Validity Status.
double OMEGA_dot_3
Rate of right ascension [semi-circles/sec].
double sv_clock_relativistic_term(double transmitTime)
Satellite Time Correction Algorithm, ICD 5.1.4.
int32_t TOW_5
Time of Week.
double C_rc_3
Amplitude of the cosine harmonic correction term to the orbit radius [meters].
double omega_2
Argument of perigee [semi-circles].
double BGD_E1E5b_5
E1-E5b Broadcast Group Delay [s].
bool E1B_DVS_5
E1B Data Validity Status.
double BGD_E1E5a_5
E1-E5a Broadcast Group Delay [s].
double A_1
Square root of the semi-major axis [meters^1/2].
void satellitePosition(double transmitTime)
Computes the ECEF SV coordinates and ECEF velocity.
double delta_n_3
Mean motion difference from computed value [semi-circles/sec].
double C_rs_3
Amplitude of the sine harmonic correction term to the orbit radius [meters].
double d_satvel_Y
Earth-fixed velocity coordinate y of the satellite [m].
double af0_4
SV clock bias correction coefficient [s].
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...
double d_satpos_Y
Earth-fixed coordinate y of the satellite [m]. Completes a right-handed, Earth-Centered, Earth-Fixed orthogonal coordinate system.
double d_satpos_X
Earth-fixed coordinate x of the satellite [m]. Intersection of the IERS Reference Meridian (IRM) and ...
double d_satvel_X
Earth-fixed velocity coordinate x of the satellite [m].
double sv_clock_drift(double transmitTime)
Satellite Time Correction Algorithm, ICD 5.1.4.
This class is a storage and orbital model functions for the Galileo SV ephemeris data as described in...
int32_t E5b_HS_5
E5b Signal Health Status.
double i_0_2
Inclination angle at reference time [semi-circles].
double iDot_2
Rate of inclination angle [semi-circles/sec].
double C_ic_4
Amplitude of the cosine harmonic correction term to the angle of inclination [radians].
double M0_1
Mean anomaly at reference time [semi-circles].
double Galileo_dtr
relativistic clock correction term
double af1_4
SV clock drift correction coefficient [s/s].
int32_t t0e_1
Ephemeris reference time [s].
double af2_4
SV clock drift rate correction coefficient [s/s^2].
double d_satvel_Z
Earth-fixed velocity coordinate z of the satellite [m].