Changeset 4357 in ntrip for trunk/BNC/src/rinex/reqcanalyze.cpp


Ignore:
Timestamp:
Jun 24, 2012, 6:57:09 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r4356 r4357  
    5151using namespace std;
    5252
     53const double SLIPTRESH = 5.0; // cycle-slip threshold (meters)
     54
    5355// Constructor
    5456////////////////////////////////////////////////////////////////////////////
     
    103105      }
    104106    }
    105 
    106     qDebug() << maxMP;
     107    if (maxMP > SLIPTRESH) {
     108    }
     109   
    107110
    108111    QwtInterval scaleInterval(0.0, maxMP);
     
    265268
    266269  const int    LENGTH = 10;  // number of epochs in one chunk
    267   const double SLIP   = 5.0; // cycle-slip threshold
    268270
    269271  int numEpo = satStat.anaObs.size();
     
    288290        double diff1 = anaObs->_MP1 - satStat.anaObs[iEpo-1]->_MP1;
    289291        double diff2 = anaObs->_MP2 - satStat.anaObs[iEpo-1]->_MP2;
    290         if (fabs(diff1) > SLIP || fabs(diff2) > SLIP) {
     292        if (fabs(diff1) > SLIPTRESH || fabs(diff2) > SLIPTRESH) {
    291293          slipFlag = true;
    292294          break;
Note: See TracChangeset for help on using the changeset viewer.