Changeset 10002 in ntrip for trunk/BNC/src/PPP/pppFilter.cpp
- Timestamp:
- Mar 15, 2023, 5:37:02 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppFilter.cpp
r9999 r10002 348 348 } 349 349 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) { 354 351 _obsPool->setRefSatChangeRequired(sys, true); 355 352 LOG << epoTimeStr << " Outlier (" … … 357 354 << t_lc::toString(maxOutlierLC) << ' ' << obs->prn().toString() 358 355 << ' ' << setw(8) << setprecision(4) << maxOutlier << endl; 359 break; 360 } else { 361 obs->setOutlier(); 362 } 356 //break; 357 } //else {obs->setOutlier(); } 363 358 } else { // fin-processing 364 359 LOG << epoTimeStr << " Outlier " << t_lc::toString(maxOutlierLC) << ' ' … … 366 361 << maxOutlier << endl; 367 362 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) { 369 366 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 } 375 372 } 376 373 else { … … 408 405 const vector<t_pppSatObs*> &obsVector, const t_prn &refPrn, 409 406 bool preProcessing) { 410 const double SLIP = 100.0;407 const double SLIP = 20.0; 411 408 char sys = refPrn.system(); 412 409 string epoTimeStr = string(_epoTime); … … 462 459 } 463 460 } 464 / *Check Pre-Fit Residuals461 // Check Pre-Fit Residuals 465 462 // ----------------------- 466 463 else { 467 if (refPrn != t_prn()) {468 return success;469 }470 464 ColumnVector AA(nPar); 471 465 for (unsigned iPar = 0; iPar < nPar; iPar++) { … … 486 480 } 487 481 } 488 } */482 } 489 483 } 490 484 } … … 768 762 continue; 769 763 } 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 771 769 if (_datumTrafo->prepareAA(AA.SubMatrix(1, iObs + 1, 1, nPar), 2) 772 770 != success) {
Note:
See TracChangeset
for help on using the changeset viewer.