Changeset 4357 in ntrip


Ignore:
Timestamp:
Jun 24, 2012, 6:57:09 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/rinex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/graphwin.h

    r4356 r4357  
    3838  t_colorMap() : QwtLinearColorMap(Qt::darkBlue, Qt::yellow) {
    3939    addColorStop(0.05, Qt::blue);
    40 //    addColorStop(0.30, Qt::cyan);
    41 //    addColorStop(0.60, Qt::green);
    42     addColorStop(9.98, Qt::red);
     40    addColorStop(0.30, Qt::cyan);
     41    addColorStop(0.60, Qt::green);
     42    addColorStop(0.98, Qt::red);
    4343  }
    4444};
  • 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.