Ignore:
Timestamp:
Jun 13, 2018, 2:46:20 PM (6 years ago)
Author:
stuerze
Message:

minor changes to allow 10 Hz observation data processing (latency checker) and resampling (RINEX files, feed engine)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/GPSDecoder.cpp

    r6448 r8373  
    4545#include "bncsettings.h"
    4646#include "bncrinex.h"
     47#include "bncutils.h"
    4748
    4849using namespace std;
     
    8081void GPSDecoder::dumpRinexEpoch(const t_satObs& obs, const QByteArray& format) {
    8182  if (_rnx) {
    82     long iSec    = long(floor(obs._time.gpssec()+0.5));
    83     if (_rnx->samplingRate() == 0 || iSec % _rnx->samplingRate() == 0) {
     83    int sec = int(nint(obs._time.gpssec()*10));
     84    if (_rnx->samplingRate() == 0 || sec % (_rnx->samplingRate()*10) == 0) {
    8485      _rnx->deepCopy(obs);
    8586    }
Note: See TracChangeset for help on using the changeset viewer.