19#ifndef GNSS_SDR_GNSS_EPHEMERIS_H
20#define GNSS_SDR_GNSS_EPHEMERIS_H
31 Gnss_Ephemeris() =
default;
66 double predicted_doppler(
double rx_time_s,
double lat,
double lon,
double h,
double ve,
double vn,
double vu,
int band)
const;
115 void satellitePosVelComputation(
double transmitTime, std::array<double, 7>& pos_vel_dtr)
const;
116 double check_t(
double time)
const;
117 double sv_clock_relativistic_term(
double transmitTime)
const;
double OMEGA_0
Longitude of ascending node of orbital plane at weekly epoch [rad].
double satpos_Y
Earth-fixed coordinate y of the satellite [m]. Completes a right-handed, Earth-Centered,...
double sqrtA
Square root of the semi-major axis [meters^1/2].
double M_0
Mean anomaly at reference time [rad].
double af0
SV clock bias correction coefficient [s].
double sv_clock_drift(double transmitTime)
Sets (satClkDrift) and (dtr), and returns the clock drift in seconds according to the User Algorithm ...
double Crc
Amplitude of the cosine harmonic correction term to the orbit radius [meters].
double satpos_X
Earth-fixed coordinate x of the satellite [m]. Intersection of the IERS Reference Meridian (IRM) and ...
double satpos_Z
Earth-fixed coordinate z of the satellite [m]. The direction of the IERS (International Earth Rotatio...
double Crs
Amplitude of the sine harmonic correction term to the orbit radius [meters].
char System
Character ID of the GNSS system. 'G': GPS. 'E': Galileo. 'C': BeiDou.
double predicted_doppler(double rx_time_s, double lat, double lon, double h, double ve, double vn, double vu, int band) const
Computes prediction of the Doppler shift for a given time and receiver's position and velocity.
double Cus
Amplitude of the sine harmonic correction term to the argument of latitude [rad].
double Cis
Amplitude of the sine harmonic correction term to the angle of inclination [rad].
double idot
Rate of inclination angle [rad/sec].
double i_0
Inclination angle at reference time [rad].
double OMEGAdot
Rate of right ascension [rad/sec].
double delta_n
Mean motion difference from computed value [rad/sec].
double satClkDrift
SV clock drift.
double dtr
Relativistic clock correction term.
double af1
SV clock drift correction coefficient [s/s].
double satvel_Z
Earth-fixed velocity coordinate z of the satellite [m].
double af2
SV clock drift rate correction coefficient [s/s^2].
double Cuc
Amplitude of the cosine harmonic correction term to the argument of latitude [rad].
double satvel_X
Earth-fixed velocity coordinate x of the satellite [m].
void satellitePosition(double transmitTime)
Computes the ECEF SV coordinates and ECEF velocity.
double Cic
Amplitude of the cosine harmonic correction term to the angle of inclination [rad].
double satvel_Y
Earth-fixed velocity coordinate y of the satellite [m].
double omega
Argument of perigee [rad].
int32_t toe
Ephemeris reference time [s].
int32_t toc
Clock correction data reference Time of Week [sec].