Changeset 5277 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Jun 20, 2013, 9:36:24 AM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/ephemeris.cpp

    r5137 r5277  
    9494
    9595  static const double omegaEarth = 7292115.1467e-11;
    96   static const double gmWGS      = 398.6005e12;
     96  static const double gmGRS      = 398.6005e12;
    9797
    9898  memset(xc, 0, 4*sizeof(double));
     
    104104  }
    105105
    106   double n0 = sqrt(gmWGS/(a0*a0*a0));
     106  double n0 = sqrt(gmGRS/(a0*a0*a0));
    107107
    108108  bncTime tt(GPSweek, GPSweeks);
     
    301301  // Acceleration
    302302  // ------------
    303   static const double GM    = 398.60044e12;
     303  static const double gmWGS = 398.60044e12;
    304304  static const double AE    = 6378136.0;
    305305  static const double OMEGA = 7292115.e-11;
     
    307307
    308308  double rho = rr.norm_Frobenius();
    309   double t1  = -GM/(rho*rho*rho);
    310   double t2  = 3.0/2.0 * C20 * (GM*AE*AE) / (rho*rho*rho*rho*rho);
     309  double t1  = -gmWGS/(rho*rho*rho);
     310  double t2  = 3.0/2.0 * C20 * (gmWGS*AE*AE) / (rho*rho*rho*rho*rho);
    311311  double t3  = OMEGA * OMEGA;
    312312  double t4  = 2.0 * OMEGA;
     
    611611
    612612  static const double omegaEarth = 7292115.1467e-11;
    613   static const double gmWGS      = 398.6005e12;
     613  static const double gmWGS = 398.60044e12;
    614614
    615615  memset(xc, 0, 4*sizeof(double));
Note: See TracChangeset for help on using the changeset viewer.