Changeset 10021 in ntrip


Ignore:
Timestamp:
Apr 3, 2023, 11:02:58 AM (13 months ago)
Author:
stuerze
Message:

reset ambiguitis as soon as an outier appears

File:
1 edited

Legend:

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

    r10020 r10021  
    100100      }
    101101    }
    102     if (num < OPT->_minObs) {
    103       setNeuNoiseToZero = true;
    104     }
     102//    if (num < OPT->_minObs) {
     103//      setNeuNoiseToZero = true;
     104//    }
    105105  }
    106106  setStateVectorAndVarCovMatrix(xFltOld, QFltOld, setNeuNoiseToZero);
     
    275275    // Check number of observations
    276276    // ----------------------------
    277     if (iObs == -1) {
    278       LOG << " number of observations == " << iObs + 1 << "\n";
     277    if ((iObs +1) < OPT->_minObs) {
     278      LOG << "t_pppFilter::processSystem not enough observations: " << iObs + 1 << "\n";
    279279      if (preProcessing) {
    280280        _obsPool->setRefSatChangeRequired(sys, true);
     
    371371          obs->setOutlier();
    372372        }
    373       } else {    // fin-processing
    374         LOG << epoTimeStr << " Outlier " << t_lc::toString(maxOutlierLC) << ' '
    375             << obs->prn().toString() << ' ' << setw(8) << setprecision(4)
    376             << maxOutlier << endl;
    377         if (par) {
    378           if (par->ambResetCandidate() ||
    379               OPT->_obsModelType == OPT->DCMcodeBias ||
    380               OPT->_obsModelType == OPT->DCMphaseBias) {
    381             resetAmb(par->prn(), obsVector, maxOutlierLC, &QSav, &xSav);
    382           }
    383           else {
    384             par->setAmbResetCandidate();
     373      }
     374      else {    // fin-processing
     375        if (obs->prn() != refPrn) {
     376          LOG << epoTimeStr << " Outlier " << t_lc::toString(maxOutlierLC)
     377              << ' ' << obs->prn().toString() << ' ' << setw(8)
     378              << setprecision(4) << maxOutlier << endl;
     379          if (par) {
     380              resetAmb(par->prn(), obsVector, maxOutlierLC, &QSav, &xSav);
     381            } else {
    385382            obs->setOutlier();
    386383          }
    387         }
    388         else {
    389           obs->setOutlier();
    390384        }
    391385      }
Note: See TracChangeset for help on using the changeset viewer.