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


Ignore:
Timestamp:
Mar 15, 2023, 5:37:02 PM (14 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r9999 r10002  
    348348      }
    349349      if (preProcessing) {
    350         // for refSats no ambiguity parameter exists
    351         if ((obs->prn() == refPrn)
    352             && (t_lc::toString(maxOutlierLC) == "l1" ||
    353                 t_lc::toString(maxOutlierLC) == "l2")) {
     350        if (obs->prn() == refPrn) {
    354351          _obsPool->setRefSatChangeRequired(sys, true);
    355352          LOG << epoTimeStr << " Outlier ("
     
    357354              << t_lc::toString(maxOutlierLC) << ' ' << obs->prn().toString()
    358355              << ' ' << setw(8) << setprecision(4) << maxOutlier << endl;
    359           break;
    360         } else {
    361           obs->setOutlier();
    362         }
     356          //break;
     357        } //else {obs->setOutlier(); }
    363358      } else {    // fin-processing
    364359        LOG << epoTimeStr << " Outlier " << t_lc::toString(maxOutlierLC) << ' '
     
    366361            << maxOutlier << endl;
    367362        if (par) {
    368           //if ( par->ambResetCandidate() || (OPT->_obsModelType == OPT->DCMcodeBias ||    OPT->_obsModelType == OPT->DCMphaseBias) ) {
     363          if (par->ambResetCandidate() ||
     364              OPT->_obsModelType == OPT->DCMcodeBias ||
     365              OPT->_obsModelType == OPT->DCMphaseBias) {
    369366            resetAmb(par->prn(), obsVector, &QSav, &xSav);
    370           //}
    371           //else {
    372           //  par->setAmbResetCandidate();
    373           //  obs->setOutlier();
    374           //}
     367          }
     368          else {
     369            par->setAmbResetCandidate();
     370            obs->setOutlier();
     371          }
    375372        }
    376373        else {
     
    408405    const vector<t_pppSatObs*> &obsVector, const t_prn &refPrn,
    409406    bool preProcessing) {
    410   const double SLIP = 100.0;
     407  const double SLIP = 20.0;
    411408  char sys = refPrn.system();
    412409  string epoTimeStr = string(_epoTime);
     
    462459          }
    463460        }
    464         /* Check Pre-Fit Residuals
     461        // Check Pre-Fit Residuals
    465462        // -----------------------
    466463        else {
    467           if (refPrn != t_prn()) {
    468             return success;
    469           }
    470464          ColumnVector AA(nPar);
    471465          for (unsigned iPar = 0; iPar < nPar; iPar++) {
     
    486480            }
    487481          }
    488         }*/
     482        }
    489483      }
    490484    }
     
    768762      continue;
    769763    }
    770     _datumTrafo->updateIndices(sys, iObs + 1); //LOG << "AA Ncols/Nrows: " << AA.Ncols() << "/" << AA.Nrows() << "  nPar: "  << nPar << endl;    //LOG << "AA.SubMatrix(1 .. " << iObs+1 << " , 1 .. " <<  nPar << ")" << endl;
     764    _datumTrafo->updateIndices(sys, iObs + 1);
     765#ifdef BNC_DEBUG_PPP
     766    LOG << "AA Ncols/Nrows: " << AA.Ncols() << "/" << AA.Nrows() << "  nPar: "  << nPar << endl;
     767    LOG << "AA.SubMatrix(1 .. " << iObs+1 << " , 1 .. " <<  nPar << ")" << endl;
     768#endif
    771769    if (_datumTrafo->prepareAA(AA.SubMatrix(1, iObs + 1, 1, nPar), 2)
    772770        != success) {
Note: See TracChangeset for help on using the changeset viewer.