- Timestamp:
- Mar 18, 2024, 10:59:05 AM (8 months ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r10388 r10397 296 296 // Check Blunders 297 297 // -------------- 298 const double BLUNDER = 1 00.0;298 const double BLUNDER = 150.0; 299 299 double maxRes = 0.0; 300 300 unsigned maxResIndex = 0; … … 379 379 } 380 380 381 if (fabs(maxRes) > 1 00.0) {381 if (fabs(maxRes) > 150.0) { 382 382 LOG << "t_pppClient::cmpOffGps outlier " << maxResPrn.toString() << " " << maxRes << endl; 383 383 delete obsVector.at(maxResIndex); … … 433 433 offGlo = 0.0; 434 434 } 435 if (fabs(maxRes) > 1 00.0) {435 if (fabs(maxRes) > 150.0) { 436 436 LOG << "t_pppClient::cmpOffGlo outlier " << maxResPrn.toString() << " " << maxRes << endl; 437 437 delete obsVector.at(maxResIndex); … … 486 486 } 487 487 488 if (fabs(maxRes) > 1 00.0) {488 if (fabs(maxRes) > 150.0) { 489 489 LOG << "t_pppClient::cmpOffGal outlier " << maxResPrn.toString() << " " << maxRes << endl; 490 490 delete obsVector.at(maxResIndex); … … 539 539 } 540 540 541 if (fabs(maxRes) > 1 00.0) {541 if (fabs(maxRes) > 150.0) { 542 542 LOG << "t_pppClient::cmpOffBDS outlier " << maxResPrn.toString() << " " << maxRes << endl; 543 543 delete obsVector.at(maxResIndex); -
trunk/BNC/src/PPP/pppFilter.cpp
r10388 r10397 310 310 string epoTimeStr = string(_epoTime); 311 311 const vector<t_pppParam*> ¶ms = _parlist->params(); 312 int maxNumberOfReset = (2.0 * obsVector.size()) - 2.0;313 int numberOfReset = 0;314 312 315 313 for (unsigned ii = 0; ii < LCs.size(); ii++) { … … 360 358 361 359 if (fabs(vv) > SLIP) { 362 numberOfReset++;363 360 LOG << epoTimeStr << " cycle slip detected " << t_lc::toString(tLC) << ' ' 364 361 << 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); 368 363 } 369 364 }
Note:
See TracChangeset
for help on using the changeset viewer.