Changeset 10239 in ntrip for trunk/BNC/src/combination


Ignore:
Timestamp:
Nov 6, 2023, 12:44:22 PM (6 months ago)
Author:
stuerze
Message:

An option 'Wait for full clock epoch' is added to combination procedure

Location:
trunk/BNC/src/combination
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/combination/bnccomb.cpp

    r10235 r10239  
    132132    _cmbSampl = 5;
    133133  }
     134
     135  _cmbWait  = settings.value("cmbWait").toInt();
     136  if (_cmbWait <= 0) {
     137    _cmbSampl = 10;
     138  }
     139
    134140  _useGps = (Qt::CheckState(settings.value("cmbGps").toInt()) == Qt::Checked) ? true : false;
    135141  if (_useGps) {
     
    451457void bncComb::slotNewClkCorrections(QList<t_clkCorr> clkCorrections) {
    452458  QMutexLocker locker(&_mutex);
    453   const double outWait = 1.0 * _cmbSampl;
    454459  int    currentWeek = 0;
    455460  double currentSec  = 0.0;
     
    576581    // Process the front epoch
    577582    // -----------------------
    578     if (epoTime < (_lastClkCorrTime - outWait)) {
     583    if (epoTime < (_lastClkCorrTime - _cmbWait)) {
    579584      _resTime = epoTime;
    580585      processEpoch(_resTime, clkCorrVec);
  • trunk/BNC/src/combination/bnccomb.h

    r10235 r10239  
    256256  e_method                                   _method;
    257257  int                                        _cmbSampl;
     258  int                                        _cmbWait;
    258259  int                                        _ms;
    259260  QMap<char, cmbEpoch>                       _buffer;
Note: See TracChangeset for help on using the changeset viewer.