Changeset 3436 in ntrip
- Timestamp:
- Sep 21, 2011, 7:10:05 PM (13 years ago)
- Location:
- trunk/BNC/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3435 r3436 268 268 } 269 269 270 // Remember Last Correction Time 271 // ----------------------------- 272 if (!_lastCorrTime.valid() || _lastCorrTime < newCorr->tt) { 273 _lastCorrTime = newCorr->tt; 274 } 275 270 276 // Process previous Epoch(s) 271 277 // ------------------------- 278 const double waitTime = 20.0; // wait 20 seconds 272 279 QListIterator<bncTime> itTime(_buffer.keys()); 273 280 while (itTime.hasNext()) { 274 281 bncTime epoTime = itTime.next(); 275 if (epoTime < newCorr->tt) {282 if (epoTime < _lastCorrTime - waitTime) { 276 283 _resTime = epoTime; 277 284 processEpoch(); -
trunk/BNC/combination/bnccomb.h
r3434 r3436 79 79 80 80 QList<cmbAC*> _ACs; 81 bncTime _lastCorrTime; 81 82 bncTime _resTime; 82 83 QVector<cmbParam*> _params;
Note:
See TracChangeset
for help on using the changeset viewer.