Changeset 9508 in ntrip for trunk/BNC/src/PPP/pppParlist.cpp


Ignore:
Timestamp:
Oct 6, 2021, 10:50:34 PM (3 years ago)
Author:
stuerze
Message:

some changes regarding PPP

File:
1 edited

Legend:

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

    r9506 r9508  
    143143  _sigma0   = old->sigma0();
    144144  _epoSpec  = old->epoSpec();
     145  _x0       = old->x0();
     146  setFirstObsTime(old->firstObsTime());
     147  setLastObsTime(old->lastObsTime());
    145148  _ambInfo  = 0;
    146149  if (_type == t_pppParam::amb) {
     
    149152    _ambInfo->_eleSat         = old->_ambInfo->_eleSat;
    150153    _ambInfo->_numEpo         = old->_ambInfo->_numEpo;
    151     _x0 = x0();
    152154  }
    153155}
     
    448450      if (OPT->_obsModelType == OPT->DCMcodeBias ||
    449451          OPT->_obsModelType == OPT->DCMphaseBias) {
    450         t_prn refPrn = (refSatMap[par->prn().system()])->prn();
     452        char sys = par->prn().system();
     453        t_prn refPrn = (refSatMap[sys])->prn();
    451454        if (par->lastObsTime().valid() &&
    452455            ((epoTime - par->lastObsTime() > 1.0) || (par->prn() == refPrn))) {
     
    475478    }
    476479    if (remove) {
     480#ifdef BNC_DEBUG_PPP
     481      LOG << "remove " << par->toString() << std::endl;
     482#endif
    477483      delete par;
    478484      it = _params.erase(it);
     
    519525      }
    520526      if (remove) {
     527#ifdef BNC_DEBUG_PPP
     528        LOG << "remove " << par->toString() << std::endl;
     529#endif
    521530        delete par;
    522531        it = _params.erase(it);
     
    711720    }
    712721    else {
     722#ifdef BNC_DEBUG_PPP
     723      LOG << "push_back  parReq " << parReq->toString() << std::endl;
     724#endif
    713725      _params.push_back(parReq);
    714726    }
Note: See TracChangeset for help on using the changeset viewer.