Changeset 3265 in ntrip for trunk/BNC/RTCM3
- Timestamp:
- Apr 6, 2011, 11:22:08 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/ephemeris.cpp
r3264 r3265 440 440 hTime = hTime - 24 * 3600.0; 441 441 ww = hTime.gpsw(); 442 tow = hTime.gpssec(); 442 tow = (int) hTime.gpssec(); 443 updatetime(&ww, &tow, ee->tb*1000, 0); // Moscow -> GPS 443 444 } 444 445 else if (hTime - currentTime < 12 * 3600.0) { … … 446 447 hTime = hTime + 24 * 3600.0; 447 448 ww = hTime.gpsw(); 448 tow = hTime.gpssec(); 449 tow = (int) hTime.gpssec(); 450 updatetime(&ww, &tow, ee->tb*1000, 0); // Moscow -> GPS 449 451 } 450 452 451 453 if (changed) { 452 cout << "GLONASS Time Changed: " << currentTime.timestr() << endl 454 bncTime newHTime(ww, (double) tow); 455 cout << "GLONASS Time Changed: " << currentTime.timestr() << " " 456 << hTime.timestr() << " " << newHTime.timestr() << endl 453 457 << ee->GPSWeek << " " << ee->GPSTOW << " " << ee->tb << endl 454 458 << ww << " " << tow << endl;
Note:
See TracChangeset
for help on using the changeset viewer.