Changeset 6448 in ntrip
- Timestamp:
- Dec 26, 2014, 4:38:26 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/GPSDecoder.cpp
r6137 r6448 81 81 if (_rnx) { 82 82 long iSec = long(floor(obs._time.gpssec()+0.5)); 83 long obsTime = obs._time.gpsw() * 7*24*3600 + iSec;84 83 if (_rnx->samplingRate() == 0 || iSec % _rnx->samplingRate() == 0) { 85 84 _rnx->deepCopy(obs); 86 85 } 87 _rnx->dumpEpoch(format, obs Time);86 _rnx->dumpEpoch(format, obs._time); 88 87 } 89 88 } -
trunk/BNC/src/bncrinex.cpp
r6252 r6448 387 387 // Write One Epoch into the RINEX File 388 388 //////////////////////////////////////////////////////////////////////////// 389 void bncRinex::dumpEpoch(const QByteArray& format, longmaxTime) {389 void bncRinex::dumpEpoch(const QByteArray& format, const bncTime& maxTime) { 390 390 391 391 // Select observations older than maxTime … … 395 395 while (mIt.hasNext()) { 396 396 t_satObs obs = mIt.next(); 397 if (obs._time .gpsw() * 7*24*3600 + obs._time.gpssec() < maxTime - 0.05) {397 if (obs._time < maxTime) { 398 398 obsList.push_back(obs); 399 399 mIt.remove(); -
trunk/BNC/src/bncrinex.h
r6227 r6448 42 42 int samplingRate() const {return _samplingRate;} 43 43 void deepCopy(t_satObs obs); 44 void dumpEpoch(const QByteArray& format, longmaxTime);44 void dumpEpoch(const QByteArray& format, const bncTime& maxTime); 45 45 void setReconnectFlag(bool flag){_reconnectFlag = flag;} 46 46
Note:
See TracChangeset
for help on using the changeset viewer.