Changeset 9568 in ntrip for trunk/BNC/src/PPP/pppSatObs.cpp


Ignore:
Timestamp:
Dec 15, 2021, 2:26:59 PM (2 years ago)
Author:
stuerze
Message:

update regarding PPP

File:
1 edited

Legend:

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

    r9566 r9568  
    8181          if (obs->_rnxType2ch == obsType &&
    8282              obs->_codeValid && obs->_code &&
    83               obs->_phaseValid && obs->_phase) {
     83              obs->_phaseValid && obs->_phase &&
     84              obs->_lockTimeValid &&  obs->_lockTime > 5.0)   {
    8485            _obs[iFreq] = new t_frqObs(*obs);
    8586          }
     
    313314  // De-Weight measurements
    314315  // ----------------------
    315   if (_prn.system() == 'R'  &&  t_lc::includesCode(tLC)) {
    316     retVal *= 5.0;
    317   }
    318   if (_prn.system() == 'C'  && t_lc::includesCode(tLC)) {
     316  if (_prn.system() == 'R'  &&
     317      (t_lc::includesCode(tLC) && t_lc::includesPhase(tLC))) {
    319318    retVal *= 5.0;
    320319  }
     
    464463  // ------------------
    465464  _model._tropo  = t_tropo::delay_saast(rRec, _model._eleSat);
    466   _model._tropo0 = t_tropo::delay_saast(rRec, M_PI/2.0);
    467465
    468466  // Code Biases
     
    690688  _stecRefSat = stecRefSat;
    691689}
    692 
    693 
    694 //
    695 ////////////////////////////////////////////////////////////////////////////
    696 void  t_pppSatObs::setPseudoObsTropo() {
    697   _tropo0 = _model._tropo0;
    698 }
Note: See TracChangeset for help on using the changeset viewer.