Changeset 8673 in ntrip for trunk/BNC/src/latencychecker.cpp
- Timestamp:
- Apr 10, 2019, 3:40:43 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/latencychecker.cpp
r8374 r8673 327 327 const t_satObs& obs = it.next(); 328 328 bool wrongObservationEpoch = checkForWrongObsEpoch(obs._time); 329 if (wrongObservationEpoch) { 330 emit( newMessage(QString("%1: Wrong observation epoch from %3 ") 331 .arg(_staID.data()) 332 .arg(obs._prn.toString().data()) 333 .toAscii(), true) ); 334 } 329 335 l._newSec = static_cast<int>(nint(obs._time.gpssec()*10)); 330 336 if (l._newSec > l._oldSec && !wrongObservationEpoch) { … … 357 363 } 358 364 } 359 }360 l._meanDiff = l._diffSec / l._numLat;361 l.init();365 l._meanDiff = l._diffSec / l._numLat; 366 l.init(); 367 } 362 368 } 363 369 if (l._followSec) { 364 370 l._diffSec += l._newSec - l._oldSec; 365 if (l._meanDiff >0.) {371 if (l._meanDiff > 0.0) { 366 372 if (l._newSec - l._oldSec > 1.5 * l._meanDiff) { 367 373 l._numGaps += 1;
Note:
See TracChangeset
for help on using the changeset viewer.