Changeset 10028 in ntrip for trunk/BNC/src/PPP/pppFilter.cpp


Ignore:
Timestamp:
Apr 12, 2023, 2:39:30 PM (19 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppFilter.cpp

    r10022 r10028  
    4848// Process Single Epoch
    4949////////////////////////////////////////////////////////////////////////////
    50 t_irc t_pppFilter::processEpoch() {
     50t_irc t_pppFilter::processEpoch(int num) {
    5151  _numSat = 0;
    5252  const double maxSolGap = 60.0;
     53  bool setNeuNoiseToZero = false;
     54
     55  if (num > 1) {
     56    setNeuNoiseToZero = true;
     57  }
    5358
    5459  // Vector of all Observations
     
    8085    return failure;
    8186  }
    82   #ifdef BNC_DEBUG_PPP
     87
     88#ifdef BNC_DEBUG_PPP
    8389  if (OPT->_obsModelType == OPT->DCMcodeBias ||
    8490      OPT->_obsModelType == OPT->DCMphaseBias) {
     
    9197  ColumnVector xFltOld = _xFlt;
    9298  SymmetricMatrix QFltOld = _QFlt;
    93   bool setNeuNoiseToZero = false;
    94   for (int iSys = 0; iSys < usedSystems.size(); iSys++) {
    95     char sys = usedSystems[iSys];
    96     int num = 0;
    97     for (unsigned jj = 0; jj < allObs.size(); jj++) {
    98       if (allObs[jj]->prn().system() == sys) {
    99         ++num;
    100       }
    101     }
    102 //    if (num < OPT->_minObs) {
    103 //      setNeuNoiseToZero = true;
    104 //    }
    105   }
    10699  setStateVectorAndVarCovMatrix(xFltOld, QFltOld, setNeuNoiseToZero);
    107100
     
    687680  // get last epoch
    688681  t_pppObsPool::t_epoch *epoch = _obsPool->lastEpoch();
     682#ifdef BNC_DEBUG_PPP
     683    LOG << "GET LAST EPOCH" << endl;
     684#endif   
    689685  if (!epoch) {
    690686    LOG << "t_pppFilter::datumTransformation: !lastEpoch" << endl;
     
    692688  }
    693689  _epoTime = epoch->epoTime();
     690 
    694691  LOG.setf(ios::fixed);
    695   LOG << string(_epoTime) << "\nDATUM TRANSFORMATION " << endl;
     692  LOG  << "DATUM TRANSFORMATION in Epoch  "<<  string(_epoTime) << endl;
    696693
    697694  vector<t_pppSatObs*> &allObs = epoch->obsVector();
     
    795792
    796793#ifdef BNC_DEBUG_PPP
    797   //LOG << "xFltOld:\n" << xFltOld << endl;
    798   //LOG << "xFlt   :\n" << _xFlt   << endl;
     794//  LOG << "xFltOld:\n" << xFltOld << endl;
     795//  LOG << "xFlt   :\n" << _xFlt   << endl;
    799796#endif
    800797
     
    824821  // =================
    825822  _datumTrafo->switchAA();
    826 
     823 
    827824  _obsPool->putEpoch(_epoTime, allObs, pseudoObsIono, refSatMap);
     825#ifdef BNC_DEBUG_PPP 
     826  LOG << "PUT EPOCH t_pppFilter::datumTransformation " << _epoTime.timestr().c_str() << endl;
     827#endif
    828828
    829829  return success;
Note: See TracChangeset for help on using the changeset viewer.