- Timestamp:
- Sep 22, 2011, 6:53:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3451 r3452 375 375 } 376 376 377 // Check Number of Observations per Satellite 378 // ------------------------------------------ 379 QMap<QString, int> numObs; 380 for (int iGps = 1; iGps <= MAXPRN_GPS; iGps++) { 381 QString prn = QString("G%1").arg(iGps, 2, 10, QChar('0')); 382 numObs[prn] = 0; 383 QVectorIterator<cmbCorr*> itCorr(corrs()); 384 while (itCorr.hasNext()) { 385 cmbCorr* corr = itCorr.next(); 386 if (corr->prn == prn) { 387 ++numObs[prn]; 388 } 389 } 390 } 391 377 392 // Prediction Step 378 393 // --------------- … … 410 425 ++iObs; 411 426 412 if ( resCorr.find(prn) == resCorr.end()) {427 if (numObs[prn] >= 3 && resCorr.find(prn) == resCorr.end()) { 413 428 resCorr[prn] = new t_corr(*corr); 414 429 }
Note:
See TracChangeset
for help on using the changeset viewer.