Changeset 10156 in ntrip


Ignore:
Timestamp:
Aug 14, 2023, 1:10:07 PM (10 months ago)
Author:
stuerze
Message:

bugs fixed in ppp

File:
1 edited

Legend:

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

    r10152 r10156  
    192192    // Check number of observations
    193193    // ----------------------------
    194     if ((iObs +1) < OPT->_minObs) {
    195       LOG << "t_pppFilter::processSystem not enough observations " << iObs + 1 << "\n";
     194    if (nSat < OPT->_minObs) {
     195      LOG << "t_pppFilter::processSystem not enough observations " << nSat << "\n";
    196196      return failure;
    197197    }
     
    382382    if (par->type() == t_pppParam::amb && par->prn() == prn) {
    383383      int ind = par->indexNew();
     384      bncTime firstObsTime;
     385      bncTime lastObsTime = par->lastObsTime();
     386      if (par->firstObsTime().undef()) {
     387        firstObsTime = lastObsTime;
     388      }
     389      else {
     390        firstObsTime = par->firstObsTime();
     391      }
    384392      t_lc::type tLC = par->tLC();
    385393      if (tLC != lc) {continue;}
     
    387395      delete par; par = new t_pppParam(t_pppParam::amb, prn, tLC, &obsVector);
    388396      par->setIndex(ind);
     397      par->setFirstObsTime(firstObsTime);
     398      par->setLastObsTime(lastObsTime);
    389399      params[iPar] = par;
    390400      for (unsigned ii = 1; ii <= params.size(); ii++) {
Note: See TracChangeset for help on using the changeset viewer.