Changeset 8990 in ntrip for trunk/BNC


Ignore:
Timestamp:
Jul 20, 2020, 5:18:54 PM (4 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r8986 r8990  
    296296  struct ClockOrbit co;
    297297  memset(&co, 0, sizeof(co));
     298#ifdef USE_SSR_RTCM
    298299  co.EpochTime[CLOCKORBIT_SATGPS] = static_cast<int>(epoTime.gpssec());
    299300  double gt = epoTime.gpssec() + 3 * 3600 - gnumleap(year, month, day);
    300301  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
    301305  co.EpochTime[CLOCKORBIT_SATGALILEO] = static_cast<int>(epoTime.gpssec());
    302306  co.EpochTime[CLOCKORBIT_SATQZSS] = static_cast<int>(epoTime.gpssec());
    303307  co.EpochTime[CLOCKORBIT_SATSBAS] = static_cast<int>(epoTime.gpssec());
     308#ifdef USE_SSR_RTCM
    304309  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
    305313  co.Supplied[COBOFS_CLOCK] = 1;
    306314  co.Supplied[COBOFS_ORBIT] = 1;
Note: See TracChangeset for help on using the changeset viewer.