Changeset 9568 in ntrip
- Timestamp:
- Dec 15, 2021, 2:26:59 PM (3 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppSatObs.cpp
r9566 r9568 81 81 if (obs->_rnxType2ch == obsType && 82 82 obs->_codeValid && obs->_code && 83 obs->_phaseValid && obs->_phase) { 83 obs->_phaseValid && obs->_phase && 84 obs->_lockTimeValid && obs->_lockTime > 5.0) { 84 85 _obs[iFreq] = new t_frqObs(*obs); 85 86 } … … 313 314 // De-Weight measurements 314 315 // ---------------------- 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))) { 319 318 retVal *= 5.0; 320 319 } … … 464 463 // ------------------ 465 464 _model._tropo = t_tropo::delay_saast(rRec, _model._eleSat); 466 _model._tropo0 = t_tropo::delay_saast(rRec, M_PI/2.0);467 465 468 466 // Code Biases … … 690 688 _stecRefSat = stecRefSat; 691 689 } 692 693 694 //695 ////////////////////////////////////////////////////////////////////////////696 void t_pppSatObs::setPseudoObsTropo() {697 _tropo0 = _model._tropo0;698 } -
trunk/BNC/src/PPP/pppSatObs.h
r9560 r9568 48 48 double getRes(t_lc::type tLC) const; 49 49 void setPseudoObsIono(t_frequency::type freq, double stecRefSat); 50 void setPseudoObsTropo();51 50 double getIonoCodeDelay(t_frequency::type freq) {return _model._ionoCodeDelay[freq];} 52 51 double getCodeBias(t_frequency::type freq) {return _model._codeBias[freq];}
Note:
See TracChangeset
for help on using the changeset viewer.