Changeset 10397 in ntrip for trunk


Ignore:
Timestamp:
Mar 18, 2024, 10:59:05 AM (8 months ago)
Author:
stuerze
Message:

changes regarding PPP

Location:
trunk/BNC/src/PPP
Files:
2 edited

Legend:

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

    r10388 r10397  
    296296    // Check Blunders
    297297    // --------------
    298     const double BLUNDER = 100.0;
     298    const double BLUNDER = 150.0;
    299299    double   maxRes      = 0.0;
    300300    unsigned maxResIndex = 0;
     
    379379      }
    380380
    381       if (fabs(maxRes) > 100.0) {
     381      if (fabs(maxRes) > 150.0) {
    382382        LOG << "t_pppClient::cmpOffGps outlier " << maxResPrn.toString() << " " << maxRes << endl;
    383383        delete obsVector.at(maxResIndex);
     
    433433        offGlo = 0.0;
    434434      }
    435       if (fabs(maxRes) > 100.0) {
     435      if (fabs(maxRes) > 150.0) {
    436436        LOG << "t_pppClient::cmpOffGlo outlier " << maxResPrn.toString() << " " << maxRes << endl;
    437437        delete obsVector.at(maxResIndex);
     
    486486      }
    487487
    488       if (fabs(maxRes) > 100.0) {
     488      if (fabs(maxRes) > 150.0) {
    489489        LOG << "t_pppClient::cmpOffGal outlier " << maxResPrn.toString() << " " << maxRes << endl;
    490490        delete obsVector.at(maxResIndex);
     
    539539      }
    540540
    541       if (fabs(maxRes) > 100.0) {
     541      if (fabs(maxRes) > 150.0) {
    542542        LOG << "t_pppClient::cmpOffBDS outlier " << maxResPrn.toString() << " " << maxRes << endl;
    543543        delete obsVector.at(maxResIndex);
  • trunk/BNC/src/PPP/pppFilter.cpp

    r10388 r10397  
    310310  string epoTimeStr = string(_epoTime);
    311311  const vector<t_pppParam*> &params = _parlist->params();
    312   int maxNumberOfReset =  (2.0 * obsVector.size()) - 2.0;
    313   int numberOfReset = 0;
    314312
    315313  for (unsigned ii = 0; ii < LCs.size(); ii++) {
     
    360358
    361359          if (fabs(vv) > SLIP) {
    362             numberOfReset++;
    363360            LOG << epoTimeStr << " cycle slip detected " << t_lc::toString(tLC) << ' '
    364361                << obs->prn().toString() << ' ' << setw(8) << setprecision(4) << vv << endl;
    365             if (numberOfReset < maxNumberOfReset) {
    366               resetAmb(obs->prn(), obsVector, tLC);
    367             }
     362            resetAmb(obs->prn(), obsVector, tLC);
    368363          }
    369364        }
Note: See TracChangeset for help on using the changeset viewer.