Changeset 5672 in ntrip for trunk


Ignore:
Timestamp:
Jul 21, 2014, 5:23:50 PM (10 years ago)
Author:
stuerze
Message:

minor changes to get ssr GLONASS epoch time in day limit

File:
1 edited

Legend:

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

    r5666 r5672  
    281281  struct ClockOrbit co;
    282282  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
    286287  co.Supplied[COBOFS_CLOCK] = 1;
    287288  co.Supplied[COBOFS_ORBIT] = 1;
Note: See TracChangeset for help on using the changeset viewer.