Changeset 8398 in ntrip for branches/BNC_2.12/src/bnccaster.cpp


Ignore:
Timestamp:
Jun 28, 2018, 12:53:59 PM (6 years ago)
Author:
stuerze
Message:

some changes to allow RINEX file generation with correct version 3 file names, 10 Hz observation data processing and resampling (RINEX files, feed engine) and harmonization of all avalable sampling cases (RINEX files, feed engine, reqc edit)

File:
1 edited

Legend:

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

    r8373 r8398  
    9696  }
    9797
    98   _samplingRate = settings.value("outSampl").toInt();
     98  _samplingRateMult10 = int(settings.value("outSampl").toString().split("sec").first().toDouble() * 10.0);
    9999  _outWait      = settings.value("outWait").toDouble();
    100100  if (_outWait <= 0.0) {
     
    304304      const QList<t_satObs>& allObs = itEpo.value();
    305305      int sec = int(nint(epoTime.gpssec()*10));
    306       if ( (_out || _sockets) && (_samplingRate == 0 || sec % (_samplingRate*10) == 0) ) {
     306      if ( (_out || _sockets) && (sec % (_samplingRateMult10) == 0) ) {
    307307        QListIterator<t_satObs> it(allObs);
    308308        bool firstObs = true;
     
    374374  // Reread several options
    375375  // ----------------------
    376   _samplingRate = settings.value("outSampl").toInt();
     376  _samplingRateMult10 = int(settings.value("outSampl").toString().split("sec").first().toDouble() * 10.0);
    377377  _outWait      = settings.value("outWait").toInt();
    378378  if (_outWait < 1) {
Note: See TracChangeset for help on using the changeset viewer.