Changeset 4183 in ntrip
- Timestamp:
- May 16, 2012, 9:50:19 AM (13 years ago)
- Location:
- trunk/BNC/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3751 r4183 30 30 #include "bnctides.h" 31 31 32 const int moduloTime = 10;33 34 32 const double sig0_offAC = 1000.0; 35 33 const double sig0_offACSat = 100.0; … … 140 138 141 139 QStringList combineStreams = settings.value("combineStreams").toStringList(); 140 141 _cmbSampl = settings.value("cmbSampl").toInt(); 142 if (_cmbSampl <= 0) { 143 _cmbSampl = 10; 144 } 142 145 143 146 _masterMissingEpochs = 0; … … 329 332 // Check Modulo Time 330 333 // ----------------- 331 if (int(newCorr->tClk.gpssec()) % moduloTime!= 0.0) {334 if (int(newCorr->tClk.gpssec()) % _cmbSampl != 0.0) { 332 335 delete newCorr; 333 336 return; … … 368 371 while (itTime.hasNext()) { 369 372 bncTime epoTime = itTime.next(); 370 if (epoTime < newCorr->tClk - moduloTime) {373 if (epoTime < newCorr->tClk - _cmbSampl) { 371 374 _resTime = epoTime; 372 375 processEpoch(); -
trunk/BNC/combination/bnccomb.h
r3588 r4183 108 108 e_method _method; 109 109 bool _useGlonass; 110 int _cmbSampl; 110 111 QMap<QString, cmbCorr*> _orbitCorrs; 111 112 };
Note:
See TracChangeset
for help on using the changeset viewer.