Changeset 10327 in ntrip for trunk/BNC/src/PPP


Ignore:
Timestamp:
Feb 8, 2024, 12:17:36 PM (13 months ago)
Author:
stuerze
Message:

changes regarding PPP

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

Legend:

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

    r10326 r10327  
    326326                                    const vector<t_pppSatObs*> &obsVector) {
    327327
    328   const double SLIP = 20.0;
     328  double SLIP = 20.0;
     329  double fac = 1.0;
     330  if (_lastEpoTimeOK.valid()) {
     331    fac = _epoTime - _lastEpoTimeOK;
     332    if (fac > 60.0 || fac < 1.0) {
     333      fac = 1.0;
     334    }
     335  }
     336  SLIP *= fac;
    329337  string epoTimeStr = string(_epoTime);
    330338  const vector<t_pppParam*> &params = _parlist->params();
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r10256 r10327  
    111111                obs->_codeValid  && obs->_code &&
    112112                obs->_phaseValid && obs->_phase) {
    113               _obs[iFreq] = new t_frqObs(*obs); //cout << "================> newObs: " << obs->_rnxType2ch <<endl;
     113              _obs[iFreq] = new t_frqObs(*obs); //cout << "================> newObs: " << obs->_rnxType2ch << " obs->_lockTime: " << obs->_lockTime << endl;
    114114            }
    115115          }
     
    354354  retVal = sqrt(retVal);
    355355
    356   // De-Weight GLO+BDS
    357   // -----------------
     356  // De-Weight GLO
     357  // -------------
    358358  if (_prn.system() == 'R' && t_lc::includesCode(tLC)) {
    359359    retVal *= GLO_WEIGHT_FACTOR;
    360   }
    361   if (_prn.system() == 'C' && t_lc::includesCode(tLC)){
    362     retVal *= BDS_WEIGHT_FACTOR;
    363360  }
    364361
     
    401398
    402399
    403   // Enlarge maxRes GLO+BDS
    404   /* ----------------------
     400  // Enlarge maxRes GLO
     401  // ------------------
    405402  if (_prn.system() == 'R' && t_lc::includesCode(tLC)) {
    406403    retVal *= GLO_WEIGHT_FACTOR;
    407404  }
    408   if (_prn.system() == 'C' && t_lc::includesCode(tLC)){
    409     retVal *= BDS_WEIGHT_FACTOR;
    410   }*/
    411405
    412406  return retVal;
Note: See TracChangeset for help on using the changeset viewer.