Changeset 8397 in ntrip for trunk/BNC/src/bnccaster.cpp


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

some changes to allow 10 Hz observation data generation with correct file names and observation data resampling (RINEX files, feed engine) and harmonization of all 3 applications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnccaster.cpp

    r8372 r8397  
    9696  }
    9797
    98   _samplingRate = settings.value("outSampl").toInt();
    99   _outWait      = settings.value("outWait").toDouble();
     98  _samplingRateMult10 = int(settings.value("outSampl").toString().split("sec").first().toDouble() * 10.0);
     99  _outWait            = settings.value("outWait").toDouble();
    100100  if (_outWait <= 0.0) {
    101101    _outWait = 0.01;
     
    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.