Changeset 7040 in ntrip


Ignore:
Timestamp:
Jul 13, 2015, 5:33:19 PM (9 years ago)
Author:
stuerze
Message:

switch off of the ephemeris check for PPP from RINEX files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP_SSR_I/pppClient.cpp

    r7031 r7040  
    153153    QString    prn     = it.key();
    154154    t_satData* satData = it.value();
    155 
     155   
    156156    if (cmpToT(satData) != success) {
    157157      delete satData;
     
    159159      continue;
    160160    }
     161
    161162  }
    162163
     
    343344//////////////////////////////////////////////////////////////////////////////
    344345void t_pppClient::putEphemeris(const t_eph* eph) {
     346  bool check = _opt->_realTime;
    345347  const t_ephGPS* ephGPS = dynamic_cast<const t_ephGPS*>(eph);
    346348  const t_ephGlo* ephGlo = dynamic_cast<const t_ephGlo*>(eph);
     
    348350  const t_ephBDS* ephBDS = dynamic_cast<const t_ephBDS*>(eph);
    349351  if      (ephGPS) {
    350     _ephUser->putNewEph(new t_ephGPS(*ephGPS), true);
     352    _ephUser->putNewEph(new t_ephGPS(*ephGPS), check);
    351353  }
    352354  else if (ephGlo) {
    353     _ephUser->putNewEph(new t_ephGlo(*ephGlo), true);
     355    _ephUser->putNewEph(new t_ephGlo(*ephGlo), check);
    354356  }
    355357  else if (ephGal) {
    356     _ephUser->putNewEph(new t_ephGal(*ephGal), true);
     358    _ephUser->putNewEph(new t_ephGal(*ephGal), check);
    357359  }
    358360  else if (ephBDS) {
    359       _ephUser->putNewEph(new t_ephBDS(*ephBDS), true);
     361      _ephUser->putNewEph(new t_ephBDS(*ephBDS), check);
    360362    }
    361363}
Note: See TracChangeset for help on using the changeset viewer.