Changeset 10018 in ntrip for trunk/BNC/src/PPP/pppFilter.cpp
- Timestamp:
- Mar 22, 2023, 10:28:06 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppFilter.cpp
r10017 r10018 83 83 if (OPT->_obsModelType == OPT->DCMcodeBias || 84 84 OPT->_obsModelType == OPT->DCMphaseBias) { 85 _parlist.printParams(_epoTime);85 // _parlist.printParams(_epoTime); 86 86 } 87 87 #endif … … 100 100 } 101 101 } 102 if (num < OPT->_minObs) {103 setNeuNoiseToZero = true;104 }102 // if (num < OPT->_minObs) { 103 // setNeuNoiseToZero = true; 104 // } 105 105 } 106 106 setStateVectorAndVarCovMatrix(xFltOld, QFltOld, setNeuNoiseToZero); … … 132 132 _xFlt = xFltOld; 133 133 _QFlt = QFltOld; 134 _obsPool->deleteLastEpoch(); 135 restoreState(2); 134 restoreState(1); 136 135 return failure; 137 136 } … … 177 176 _xFlt = xFltOld; 178 177 _QFlt = QFltOld; 179 _obsPool->deleteLastEpoch(); 180 restoreState(3); 178 restoreState(2); 181 179 } 182 180 return failure; … … 277 275 // Check number of observations 278 276 // ---------------------------- 279 if ( iObs == -1) {280 LOG << " number of observations ==" << iObs + 1 << "\n";277 if ((iObs +1) < OPT->_minObs) { 278 LOG << "t_pppFilter::processSystem not enough observations: " << iObs + 1 << "\n"; 281 279 if (preProcessing) { 282 280 _obsPool->setRefSatChangeRequired(sys, true); … … 363 361 if (preProcessing) { 364 362 if (obs->prn() == refPrn) { 365 LOG << epoTimeStr << " Outlier (" 366 << ((preProcessing) ? "pre-processing) " : "fin-processing) ") 367 << t_lc::toString(maxOutlierLC) << ' ' << obs->prn().toString() 368 << ' ' << setw(8) << setprecision(4) << maxOutlier << endl; 369 _obsPool->setRefSatChangeRequired(sys, true); 370 break; 371 } else { 372 obs->setOutlier(); 373 } 374 } else { // fin-processing 375 LOG << epoTimeStr << " Outlier " << t_lc::toString(maxOutlierLC) << ' ' 376 << obs->prn().toString() << ' ' << setw(8) << setprecision(4) 377 << maxOutlier << endl; 378 if (par) { 379 resetAmb(par->prn(), obsVector, maxOutlierLC, &QSav, &xSav); 363 LOG << epoTimeStr << " Outlier (" 364 << ((preProcessing) ? "pre-processing) " : "fin-processing) ") 365 << t_lc::toString(maxOutlierLC) << ' ' << obs->prn().toString() 366 << ' ' << setw(8) << setprecision(4) << maxOutlier << endl; 367 _obsPool->setRefSatChangeRequired(sys, true); 368 break; 380 369 } 381 370 else { 382 371 obs->setOutlier(); 372 } 373 } else { // fin-processing 374 if (obs->prn() != refPrn) { 375 LOG << epoTimeStr << " Outlier " << t_lc::toString(maxOutlierLC) << ' ' 376 << obs->prn().toString() << ' ' << setw(8) << setprecision(4) 377 << maxOutlier << endl; 378 if (par) { 379 resetAmb(par->prn(), obsVector, maxOutlierLC, &QSav, &xSav); 380 } 381 else { 382 obs->setOutlier(); 383 } 383 384 } 384 385 } … … 715 716 } 716 717 #ifdef BNC_DEBUG_PPP 717 _parlist.printParams(_epoTime);718 //_parlist.printParams(_epoTime); 718 719 #endif 719 720
Note:
See TracChangeset
for help on using the changeset viewer.