- Timestamp:
- Apr 15, 2010, 1:42:35 PM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/ephemeris.cpp
r2285 r2429 122 122 tc += (GPSweek - _GPSweek) * secPerWeek; 123 123 } 124 xc[3] = _clock_bias + _clock_drift*tc + _clock_driftrate*tc*tc 125 - 4.442807633e-10 * _e * sqrt(a0) *sin(E); 124 xc[3] = _clock_bias + _clock_drift*tc + _clock_driftrate*tc*tc; 126 125 127 126 // Velocity … … 148 147 149 148 vv[2] = sini *doty + yp*cosi *doti; 149 150 // Relativistic Correction 151 // ----------------------- 152 // xc(4) -= 4.442807633e-10 * _e * sqrt(a0) *sin(E); 153 xc[3] -= 2.0 * (xc[0]*vv[0] + xc[1]*vv[1] + xc[2]*vv[2]) / t_CST::c / t_CST::c; 150 154 } 151 155 -
trunk/BNC/bncpppclient.cpp
r2428 r2429 374 374 in >> bType >> bValue; 375 375 if (bType == CODETYPEGPS_L1_Z) { 376 bb->p1 = bValue * 0.299792458;376 bb->p1 = bValue; 377 377 } 378 378 else if (bType == CODETYPEGPS_L1_CA) { 379 bb->c1 = bValue * 0.299792458;379 bb->c1 = bValue; 380 380 } 381 381 else if (bType == CODETYPEGPS_L2_Z) { 382 bb->p2 = bValue * 0.299792458;382 bb->p2 = bValue; 383 383 } 384 384 }
Note:
See TracChangeset
for help on using the changeset viewer.