Go to the documentation of this file.
39 #ifndef GNSSTK_GLOCNAVALMUNCORRECTED_CPP
40 #define GNSSTK_GLOCNAVALMUNCORRECTED_CPP
69 seta(
double epsilonA,
double omegaA,
double Tdr)
73 double am = -9, am1 = 9, pm1 = 0;
74 double ecc2obv = (1.0 - (epsilonA*epsilonA));
75 double ecc2obvTH = sqrt(ecc2obv*ecc2obv*ecc2obv);
78 while (fabs(am1-am) > 1e-5)
82 am1 = std::cbrt(f1 * f1 *
GM);
85 double term1 = top1 * top1 * top1 / ecc2obv;
86 double term2 = ecc2obvTH / (top1 * top1);
87 double term3 = 2.0 - ((5.0/2.0) *
sin(i)*
sin(i));
88 double term321 = (term3*term2) + term1;
89 double term4a =
ae / pm1;
90 double term4 = (3.0/2.0) *
J20 * term4a * term4a;
91 double term4321 = term4 * term321;
92 Tosc = Tdr / (1.0-term4321);
105 p = a * (1.0 - epsilonA*epsilonA);
135 double omegaTerm = (3.0/4.0)*
J20*n*ev*ev*(1.0-(5.0*
cos(i)*
cos(i)));
140 #endif //GNSSTK_GLOCNAVALMUNCORRECTED_CPP
static const GNSSTK_EXPORT double GM
Gravitational constant.
static const GNSSTK_EXPORT double ae
Equatorial radius of Earth in km.
double lambda
longitude of ascending node
void seta(double epsilonA, double omegaA, double Tdr)
static const GNSSTK_EXPORT double iav
iap</cp> as defined in ICD-GLONASS-CDMA-L3 section 5.3.2.12
virtual double angVelocity() const noexcept
static const GNSSTK_EXPORT double J20
Second degree coefficient of normal potential, table 4.1.
const double PI
GPS value of PI; also specified by GAL.
double omega
argument of perigee
double sin(gnsstk::Angle x)
void sethl(double epsilonA)
double deltai
Inclination offset from 64.8 degrees (semicirc).
static const GNSSTK_EXPORT PZ90Ellipsoid ell
Ellipsoid parameters used by GLONASS.
void setlambda(double lambdaA, double n, double Deltatpr)
double ecc
Eccentricity at tlambdaA.
void setData(const GLOCNavAlm &alm, double Tdr, double n, double Deltatpr)
void setomega(double omegaA, double n, double Deltatpr)
double cos(gnsstk::Angle x)
double omega
Almanac parameter for argument of perigee (semicirc).
double lambda
Longitude of first ascending node (semicirc).
void seti(double DeltaiA)
void setp(double epsilonA)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39