Changeset 4183 in ntrip


Ignore:
Timestamp:
May 16, 2012, 9:50:19 AM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/combination
Files:
2 edited

Legend:

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

    r3751 r4183  
    3030#include "bnctides.h"
    3131
    32 const int moduloTime = 10;
    33 
    3432const double sig0_offAC    = 1000.0;
    3533const double sig0_offACSat =  100.0;
     
    140138
    141139  QStringList combineStreams = settings.value("combineStreams").toStringList();
     140
     141  _cmbSampl = settings.value("cmbSampl").toInt();
     142  if (_cmbSampl <= 0) {
     143    _cmbSampl = 10;
     144  }
    142145
    143146  _masterMissingEpochs = 0;
     
    329332  // Check Modulo Time
    330333  // -----------------
    331   if (int(newCorr->tClk.gpssec()) % moduloTime != 0.0) {
     334  if (int(newCorr->tClk.gpssec()) % _cmbSampl != 0.0) {
    332335    delete newCorr;
    333336    return;
     
    368371  while (itTime.hasNext()) {
    369372    bncTime epoTime = itTime.next();
    370     if (epoTime < newCorr->tClk - moduloTime) {
     373    if (epoTime < newCorr->tClk - _cmbSampl) {
    371374      _resTime = epoTime;
    372375      processEpoch();
  • trunk/BNC/combination/bnccomb.h

    r3588 r4183  
    108108  e_method                _method;
    109109  bool                    _useGlonass;
     110  int                     _cmbSampl;
    110111  QMap<QString, cmbCorr*> _orbitCorrs;
    111112};
Note: See TracChangeset for help on using the changeset viewer.