Changeset 10200 in ntrip
- Timestamp:
- Sep 11, 2023, 1:18:34 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r10192 r10200 486 486 // ---------------------------- 487 487 if (BNC_CORE->mode() != t_bncCore::batchPostProcessing) { 488 if ((newClk->_time >= currentTime) || 488 if ((newClk->_time >= currentTime) || // future time stamp 489 489 (currentTime - newClk->_time) > 60.0) { // very old data sets 490 490 #ifdef BNC_DEBUG_CMB 491 emit newMessage("bncComb: very old data sets: " + acName.toLatin1() + " " + newClk->_prn.toString().c_str() +491 emit newMessage("bncComb: future or very old data sets: " + acName.toLatin1() + " " + newClk->_prn.toString().c_str() + 492 492 QString(" %1 ").arg(newClk->_time.timestr().c_str()).toLatin1() + "vs. current time" + 493 493 QString(" %1 ").arg(currentTime.timestr().c_str()).toLatin1(), true); … … 546 546 // Make sure the buffer does not grow beyond any limit 547 547 // --------------------------------------------------- 548 const unsigned MAX_EPODATA_SIZE = 12;548 const unsigned MAX_EPODATA_SIZE = 60.0 / _cmbSampl; 549 549 if (_epoClkData.size() > MAX_EPODATA_SIZE) { 550 550 delete _epoClkData.front(); … … 564 564 bncTime epoTime = _epoClkData.front()->_time; 565 565 566 if ((currentTime - epoTime) > 60.0) { 567 delete _epoClkData.front(); 568 _epoClkData.pop_front(); 569 continue; 570 } 571 566 if (BNC_CORE->mode() != t_bncCore::batchPostProcessing) { 567 if ((currentTime - epoTime) > 60.0) { 568 delete _epoClkData.front(); 569 _epoClkData.pop_front(); 570 continue; 571 } 572 } 572 573 // Process the front epoch 573 574 // -----------------------
Note:
See TracChangeset
for help on using the changeset viewer.