Changeset 6468 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Dec 27, 2014, 7:57:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r6467 r6468 368 368 } 369 369 else if (_codeBias.NumberOfSat[CLOCKORBIT_SATGPS] > 0) { 370 epoSecGPS = _c lkOrb.EpochTime[CLOCKORBIT_SATGPS]; // 0 .. 604799 s370 epoSecGPS = _codeBias.EpochTime[CLOCKORBIT_SATGPS]; // 0 .. 604799 s 371 371 } 372 372 else if (_clkOrb.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0) { 373 epoSecGlo = _c odeBias.EpochTime[CLOCKORBIT_SATGLONASS]; // 0 .. 86399 s (86400 for leap second)373 epoSecGlo = _clkOrb.EpochTime[CLOCKORBIT_SATGLONASS]; // 0 .. 86399 s (86400 for leap second) 374 374 } 375 375 else if (_codeBias.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0) { … … 388 388 if (epoSecGPS != -1) { 389 389 _lastTime.set(currentWeek, epoSecGPS); 390 while (_lastTime < currentTime - 7 * 86400.0) {391 _lastTime = _lastTime + 7 * 86400.0;392 }393 while (_lastTime > currentTime + 7 * 86400.0) {394 _lastTime = _lastTime - 7 * 86400.0;395 }396 390 } 397 391 else if (epoSecGlo != -1) { … … 399 393 epoSecGlo = epoSecGlo - 3 * 3600 + gnumleap(date.year(), date.month(), date.day()); 400 394 _lastTime.set(currentWeek, epoSecGlo); 401 while (_lastTime < currentTime - 86400.0) { 402 _lastTime = _lastTime + 86400.0; 403 } 404 while (_lastTime > currentTime + 86400.0) { 405 _lastTime = _lastTime - 86400.0; 406 } 407 } 408 } 395 } 396 397 if (_lastTime.valid()) { 398 while (_lastTime < currentTime - 86400.0/2) { 399 _lastTime = _lastTime + 86400.0/2; 400 } 401 while (_lastTime > currentTime + 86400.0/2) { 402 _lastTime = _lastTime - 86400.0/2; 403 } 404 } 405 }
Note:
See TracChangeset
for help on using the changeset viewer.