Changeset 9096 in ntrip for trunk/BNC/src
- Timestamp:
- Sep 3, 2020, 3:12:14 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bnccaster.cpp
r9088 r9096 598 598 QMap<t_prn, double>& ltMap = _lockTimeMap[obs._staID]; 599 599 QMap<t_prn, int>& jcMap = _jumpCounterMap[obs._staID]; 600 601 600 QMap<t_prn, double>::const_iterator it = ltMap.find(obs._prn); 602 if (it == ltMap.end()) { 601 if (it == ltMap.end()) { // init satellite 603 602 ltMap[obs._prn] = minLockTime; 604 603 jcMap[obs._prn] = 0; 605 604 } 606 605 else { 607 if (ltMap[obs._prn] < minLockTime) { 608 ltMap[obs._prn] = minLockTime; 606 if (minLockTime < ltMap[obs._prn]) { 609 607 jcMap[obs._prn] += 1; 610 608 if (jcMap[obs._prn] > 9999) { … … 612 610 } 613 611 } 612 ltMap[obs._prn] = minLockTime; 614 613 } 615 614 for (unsigned ii = 0; ii < obs._obs.size(); ii++) {
Note:
See TracChangeset
for help on using the changeset viewer.