- Timestamp:
- Jul 21, 2014, 5:23:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r5666 r5672 281 281 struct ClockOrbit co; 282 282 memset(&co, 0, sizeof(co)); 283 co.EpochTime[CLOCKORBIT_SATGPS] = static_cast<int>(epoTime.gpssec()); 284 co.EpochTime[CLOCKORBIT_SATGLONASS] = static_cast<int>(fmod(epoTime.gpssec(), 86400.0)) 285 + 3 * 3600 - gnumleap(year, month, day); 283 co.EpochTime[CLOCKORBIT_SATGPS] = static_cast<int>(epoTime.gpssec()); 284 double gt = epoTime.gpssec() + 3 * 3600 - gnumleap(year, month, day); 285 co.EpochTime[CLOCKORBIT_SATGLONASS] = static_cast<int>(fmod(gt, 86400.0)); 286 286 287 co.Supplied[COBOFS_CLOCK] = 1; 287 288 co.Supplied[COBOFS_ORBIT] = 1;
Note:
See TracChangeset
for help on using the changeset viewer.