Changeset 7302 in ntrip for trunk/BNC


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

minor changes to consider observation gaps

Location:
trunk/BNC/src/PPP
Files:
2 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}
  • trunk/BNC/src/PPP/pppFilter.h

    r7237 r7302  
    6969  };
    7070
    71   t_irc processSystem(const std::vector<t_lc::type>& LCs, 
     71  t_irc processSystem(const std::vector<t_lc::type>& LCs,
    7272                      const std::vector<t_pppSatObs*>& obsVector);
    7373
    74   t_irc detectCycleSlips(const std::vector<t_lc::type>& LCs, 
     74  t_irc detectCycleSlips(const std::vector<t_lc::type>& LCs,
    7575                         const std::vector<t_pppSatObs*>& obsVector);
    7676
     
    9191  t_dop           _dop;
    9292  bncTime         _firstEpoTime;
     93  bncTime         _lastEpoTimeOK;
    9394};
    9495
Note: See TracChangeset for help on using the changeset viewer.