Changeset 5129 in ntrip
- Timestamp:
- Apr 17, 2013, 9:44:33 AM (12 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bnccore.cpp
r5123 r5129 658 658 // --------------------------------- 659 659 if (_waitCoTime > 0.0 && coTime <= _lastCorrDumpTime) { 660 ///if (!_bncComb) {660 if (!_bncComb) { 661 661 QString line = staID + ": Correction for one sat neglected because overaged by " + 662 662 QString().sprintf(" %f sec", … … 664 664 messagePrivate(line.toAscii()); 665 665 emit( newMessage(line.toAscii(), true) ); 666 ///}666 } 667 667 return; 668 668 } -
trunk/BNC/src/combination/bnccomb.cpp
r5128 r5129 296 296 newCorr->acName = acName; 297 297 if (!newCorr->readLine(line) == success) { 298 /// emit newMessage("bncComb: cannot read correction: " + staID.toAscii() + " " + line.toAscii(), true);299 298 delete newCorr; 300 299 return; … … 333 332 // ----------------- 334 333 if (int(newCorr->tClk.gpssec()) % _cmbSampl != 0.0) { 335 emit newMessage("bncComb: correction out of sampling rate " + staID.toAscii() + " " + line.toAscii(), true);336 334 delete newCorr; 337 335 return; … … 349 347 //-------------------- 350 348 if (_eph.find(newCorr->prn) == _eph.end()) { 351 emit newMessage("bncComb: eph not found (1) " + staID.toAscii() + " " + line.toAscii(), true);349 emit newMessage("bncComb: eph not found " + newCorr->prn.toAscii(), true); 352 350 delete newCorr; 353 351 return; … … 364 362 } 365 363 else { 366 emit newMessage("bncComb: eph not found (2) " + staID.toAscii() + " " + line.toAscii(), true); 364 emit newMessage("bncComb: eph not found " + newCorr->prn.toAscii() + 365 QString(" %1").arg(newCorr->iod).toAscii(), true); 367 366 delete newCorr; 368 367 return; … … 372 371 // Process previous Epoch(s) 373 372 // ------------------------- 373 const double waitTime = 1.5 * _cmbSampl; 374 374 QListIterator<bncTime> itTime(_buffer.keys()); 375 375 while (itTime.hasNext()) { 376 376 bncTime epoTime = itTime.next(); 377 if (epoTime < newCorr->tClk - _cmbSampl) {377 if (epoTime < newCorr->tClk - waitTime) { 378 378 _resTime = epoTime; 379 379 processEpoch();
Note:
See TracChangeset
for help on using the changeset viewer.