Changeset 5277 in ntrip
 Timestamp:
 Jun 20, 2013, 9:36:24 AM (9 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/BNC/src/RTCM3/ephemeris.cpp
r5137 r5277 94 94 95 95 static const double omegaEarth = 7292115.1467e11; 96 static const double gm WGS = 398.6005e12;96 static const double gmGRS = 398.6005e12; 97 97 98 98 memset(xc, 0, 4*sizeof(double)); … … 104 104 } 105 105 106 double n0 = sqrt(gm WGS/(a0*a0*a0));106 double n0 = sqrt(gmGRS/(a0*a0*a0)); 107 107 108 108 bncTime tt(GPSweek, GPSweeks); … … 301 301 // Acceleration 302 302 //  303 static const double GM= 398.60044e12;303 static const double gmWGS = 398.60044e12; 304 304 static const double AE = 6378136.0; 305 305 static const double OMEGA = 7292115.e11; … … 307 307 308 308 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); 311 311 double t3 = OMEGA * OMEGA; 312 312 double t4 = 2.0 * OMEGA; … … 611 611 612 612 static const double omegaEarth = 7292115.1467e11; 613 static const double gmWGS = 398.6005e12;613 static const double gmWGS = 398.60044e12; 614 614 615 615 memset(xc, 0, 4*sizeof(double));
Note:
See TracChangeset
for help on using the changeset viewer.