Changeset 7302 in ntrip for trunk/BNC/src/PPP/pppFilter.cpp


Ignore:
Timestamp:
Sep 24, 2015, 10:14:41 AM (9 years ago)
Author:
stuerze
Message:

minor changes to consider observation gaps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppFilter.cpp

    r7267 r7302  
    4949
    5050  _numSat     = 0;
     51  const double maxSolGap = 60.0;
    5152
    5253  if (!_parlist) {
     
    6667  _epoTime = epoch->epoTime();
    6768
    68   if (!_firstEpoTime.valid()) {
     69  if (!_firstEpoTime.valid() ||
     70      !_lastEpoTimeOK.valid() ||
     71      (maxSolGap > 0.0 && _epoTime - _lastEpoTimeOK > maxSolGap)) {
    6972    _firstEpoTime = _epoTime;
    7073  }
     
    131134
    132135  _parlist->printResult(_epoTime, _QFlt, _xFlt);
    133 
     136  _lastEpoTimeOK = _epoTime;  // remember time of last successful epoch processing
    134137  return success;
    135138}
Note: See TracChangeset for help on using the changeset viewer.