Changeset 8990 in ntrip for trunk/BNC/src/upload
- Timestamp:
- Jul 20, 2020, 5:18:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r8986 r8990 296 296 struct ClockOrbit co; 297 297 memset(&co, 0, sizeof(co)); 298 #ifdef USE_SSR_RTCM 298 299 co.EpochTime[CLOCKORBIT_SATGPS] = static_cast<int>(epoTime.gpssec()); 299 300 double gt = epoTime.gpssec() + 3 * 3600 - gnumleap(year, month, day); 300 301 co.EpochTime[CLOCKORBIT_SATGLONASS] = static_cast<int>(fmod(gt, 86400.0)); 302 #elif USE_SSR_IGS 303 co.EpochTime[CLOCKORBIT_SATGLONASS] = static_cast<int>(epoTime.gpssec()); 304 #endif 301 305 co.EpochTime[CLOCKORBIT_SATGALILEO] = static_cast<int>(epoTime.gpssec()); 302 306 co.EpochTime[CLOCKORBIT_SATQZSS] = static_cast<int>(epoTime.gpssec()); 303 307 co.EpochTime[CLOCKORBIT_SATSBAS] = static_cast<int>(epoTime.gpssec()); 308 #ifdef USE_SSR_RTCM 304 309 co.EpochTime[CLOCKORBIT_SATBDS] = static_cast<int>(epoTime.bdssec()); 310 #elif USE_SSR_IGS 311 co.EpochTime[CLOCKORBIT_SATBDS] = static_cast<int>(epoTime.gpssec()); 312 #endif 305 313 co.Supplied[COBOFS_CLOCK] = 1; 306 314 co.Supplied[COBOFS_ORBIT] = 1;
Note:
See TracChangeset
for help on using the changeset viewer.