Changeset 9577 in ntrip


Ignore:
Timestamp:
Dec 17, 2021, 8:58:51 AM (2 years ago)
Author:
stuerze
Message:

minor changes

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

Legend:

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

    r9570 r9577  
    354354         else {
    355355          if (par) {
    356             //par->setAmbResetCandidate();
     356            par->setAmbResetCandidate();
    357357            obs->setOutlier();
    358358          }
     
    366366            << obs->prn().toString()  << ' ' << setw(8) << setprecision(4) << maxOutlier << endl;
    367367        if (par) {
    368           //if (par->ambResetCandidate()) {
     368          if (par->ambResetCandidate()) {
    369369            resetAmb(par->prn(), obsVector, &QSav, &xSav);
    370           //}
    371           //else {
    372             //par->setAmbResetCandidate();
    373             //obs->setOutlier();
    374           //}
     370          }
     371          else {
     372            par->setAmbResetCandidate();
     373            obs->setOutlier();
     374          }
    375375        }
    376376        else {
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r9576 r9577  
    319319  }
    320320
    321   if (_prn.system() == 'C'  &&
    322       (t_lc::includesCode(tLC) || t_lc::includesPhase(tLC))) {
    323     retVal *= 2.0;
    324   }
    325 
    326321  // Elevation-Dependent Weighting
    327322  // -----------------------------
     
    359354
    360355  retVal = sqrt(retVal);
     356
     357  if (_prn.system() == 'R'  &&
     358      (t_lc::includesCode(tLC) || t_lc::includesPhase(tLC))) {
     359    retVal *= 2.0;
     360  }
    361361
    362362  return retVal;
Note: See TracChangeset for help on using the changeset viewer.