Changeset 11113 in ntrip for trunk/BNC/src/combination/bnccomb.cpp
- Timestamp:
- Oct 22, 2026, 4:00:17 PM (2 days ago)
- File:
-
- 1 edited
-
trunk/BNC/src/combination/bnccomb.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r11112 r11113 555 555 556 556 557 // True if every AC has delivered clock corrections for an epoch after epoTime 558 //////////////////////////////////////////////////////////////////////////// 559 bool bncComb::allACsBeyond(const bncTime& epoTime) const { 557 // True if every AC has delivered clock corrections for epoTime or a later 558 // epoch: the decoder passes an epoch on when it is complete (Multiple 559 // Message Indicator) and emits its clocks after its orbits and biases 560 //////////////////////////////////////////////////////////////////////////// 561 bool bncComb::allACsDelivered(const bncTime& epoTime) const { 560 562 QListIterator<cmbAC*> itAC(_ACs); 561 563 while (itAC.hasNext()) { 562 564 const cmbAC* AC = itAC.next(); 563 565 bncTime acLast = _acLastClkTime.value(AC->name); 564 if (!acLast.valid() || !(acLast >epoTime)) {566 if (!acLast.valid() || acLast < epoTime) { 565 567 return false; 566 568 } … … 723 725 } 724 726 } 725 // Process the front epoch as soon as all ACs have delivered corrections726 // for a later epoch (i.e. have finished this one), at the latest when727 // the newest correction is maxWait newer(an AC may be late or missing).727 // Process the front epoch as soon as all ACs have delivered it (complete 728 // epochs), at the latest when the newest correction is maxWait newer 729 // (an AC may be late or missing). 728 730 // Waiting only outWait after the newest correction lost the corrections 729 731 // of ACs with a few seconds more latency ("old correction"). 730 732 // ----------------------------------------------------------------------- 731 733 const double maxWait = max(10.0, outWait); 732 if (allACs Beyond(epoTime) || epoTime < (_lastClkCorrTime - maxWait)) {734 if (allACsDelivered(epoTime) || epoTime < (_lastClkCorrTime - maxWait)) { 733 735 _resTime = epoTime; 734 736 processEpoch(_resTime, clkCorrVec);
Note:
See TracChangeset
for help on using the changeset viewer.
