Changeset 8992 in ntrip for branches/BNC_2.12


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

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp

    r8987 r8992  
    294294  memset(&co, 0, sizeof(co));
    295295  co.EpochTime[CLOCKORBIT_SATGPS] = static_cast<int>(epoTime.gpssec());
     296#ifdef USE_SSR_RTCM
    296297  double gt = epoTime.gpssec() + 3 * 3600 - gnumleap(year, month, day);
    297298  co.EpochTime[CLOCKORBIT_SATGLONASS] = static_cast<int>(fmod(gt, 86400.0));
     299#elif  USE_SSR_IGS
     300  co.EpochTime[CLOCKORBIT_SATGLONASS] = static_cast<int>(epoTime.gpssec());
     301#endif
    298302  co.EpochTime[CLOCKORBIT_SATGALILEO] = static_cast<int>(epoTime.gpssec());
    299303  co.EpochTime[CLOCKORBIT_SATQZSS] = static_cast<int>(epoTime.gpssec());
    300304  co.EpochTime[CLOCKORBIT_SATSBAS] = static_cast<int>(epoTime.gpssec());
     305#ifdef USE_SSR_RTCM
    301306  co.EpochTime[CLOCKORBIT_SATBDS] = static_cast<int>(epoTime.bdssec());
     307#elif  USE_SSR_IGS
     308  co.EpochTime[CLOCKORBIT_SATBDS] = static_cast<int>(epoTime.gpssec());
     309#endif
    302310  co.Supplied[COBOFS_CLOCK] = 1;
    303311  co.Supplied[COBOFS_ORBIT] = 1;
Note: See TracChangeset for help on using the changeset viewer.