Changeset 10219 in ntrip for trunk/BNC


Ignore:
Timestamp:
Oct 4, 2023, 12:11:35 PM (8 months ago)
Author:
stuerze
Message:

minor changes regarding ppp

Location:
trunk/BNC/src/PPP
Files:
3 edited

Legend:

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

    r10199 r10219  
    192192    // Check number of observations
    193193    // ----------------------------
    194     if (!nSat) {
     194    if (nSat < 3) {
    195195      LOG << "t_pppFilter::processSystem not enough observations " << nSat << "\n";
    196196      return failure;
     
    268268      }
    269269      if (par) {
    270 //        if (par->ambResetCandidate()) {
     270        if (par->ambResetCandidate()) {
    271271          resetAmb(par->prn(), obsVector, maxOutlierLC, &QSav, &xSav);
    272 //        }
    273 //        else {
    274 //          par->setAmbResetCandidate();
    275 //          obs->setOutlier();
    276 //        }
     272        }
     273        else {
     274          par->setAmbResetCandidate();
     275          obs->setOutlier();
     276        }
    277277      }
    278278      else {
  • trunk/BNC/src/PPP/pppParlist.cpp

    r10215 r10219  
    369369
    370370    else if (par->type() == t_pppParam::amb  ||
    371              par->type() == t_pppParam::ion  ||
    372371             par->type() == t_pppParam::crdX ||
    373372             par->type() == t_pppParam::crdY ||
    374373             par->type() == t_pppParam::crdZ) {
    375       if (par->lastObsTime().valid() && (epoTime - par->lastObsTime() > 10.0)) {
     374      if (par->lastObsTime().valid() && (epoTime - par->lastObsTime() > 60.0)) {
    376375        remove = true;
    377376      }
    378377    }
     378    else if (par->type() == t_pppParam::ion) {
     379      if (par->lastObsTime().valid() && (epoTime - par->lastObsTime() > 5.0)) {
     380        remove = true;
     381      }
     382}
    379383
    380384    if (remove) {
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r10217 r10219  
    416416
    417417  _model._eleSat = acos(sqrt(neu[0]*neu[0] + neu[1]*neu[1]) / _model._rho);
    418   if (neu[2] < 0) {
     418  if (neu[2] < 0.0) {
    419419    _model._eleSat *= -1.0;
    420420  }
Note: See TracChangeset for help on using the changeset viewer.