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


Ignore:
Timestamp:
Dec 1, 2021, 5:47:15 PM (3 years ago)
Author:
stuerze
Message:

update regarding PPP

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

Legend:

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

    r9558 r9559  
    102102      _noise   = OPT->_noiseIon;
    103103     break;
    104    case cBiasG1:   case cBiasR1:   case cBiasE1:   case cBiasC1:
    105    case cBiasG2:   case cBiasR2:   case cBiasE2:   case cBiasC2:
     104   case cBiasG1:   case cBiasE1:   case cBiasC1:
     105   case cBiasG2:   case cBiasE2:   case cBiasC2:
    106106     _epoSpec = false;
    107107     _sigma0  = OPT->_aprSigCodeBias;
     
    246246    if ((obs->prn().system() == 'G') && (tLC == t_lc::c1)) {return 1.0;} else {return 0.0;}
    247247    break;
    248   case cBiasR1:
    249     if ((obs->prn().system() == 'R') && (tLC == t_lc::c1)) {return 1.0;} else {return 0.0;}
    250     break;
    251248  case cBiasE1:
    252249    if ((obs->prn().system() == 'E') && (tLC == t_lc::c1)) {return 1.0;} else {return 0.0;}
     
    257254  case cBiasG2:
    258255    if ((obs->prn().system() == 'G') && (tLC == t_lc::c2)) {return 1.0;} else {return 0.0;}
    259     break;
    260   case cBiasR2:
    261     if ((obs->prn().system() == 'R') && (tLC == t_lc::c2)) {return 1.0;} else {return 0.0;}
    262256    break;
    263257  case cBiasE2:
     
    328322  case cBiasG2:  case pBiasG2:
    329323    ss << "BIA  " << left << setw(3) << t_lc::toString(_tLC) << right << " G  ";
    330     break;
    331   case cBiasR1:
    332   case cBiasR2:
    333     ss << "BIA  " << left << setw(3) << t_lc::toString(_tLC) << right << " R  ";
    334324    break;
    335325  case cBiasE1:  case pBiasE1:
     
    519509        it = _params.erase(it);
    520510      }
    521       else if ((par->type() == t_pppParam::cBiasR1 ||
    522                 par->type() == t_pppParam::cBiasR2) && !usedSystems().contains('R')) {
    523 #ifdef BNC_DEBUG_PPP
    524         LOG << "remove1 " << par->toString() << std::endl;
    525 #endif
    526         delete par;
    527         it = _params.erase(it);
    528       }
    529511      else if ((par->type() == t_pppParam::cBiasE1 ||
    530512                par->type() == t_pppParam::cBiasE2 ||
     
    594576      }
    595577    }
    596     if (_usedSystems.contains('R')) {
    597       lc = OPT->LCs('R');
    598       if (std::find(lc.begin(), lc.end(), t_lc::c1) != lc.end()) {
    599         required.push_back(new t_pppParam(t_pppParam::cBiasR1, t_prn(), t_lc::c1));
    600       }
    601       if (std::find(lc.begin(), lc.end(), t_lc::c2) != lc.end()) {
    602         required.push_back(new t_pppParam(t_pppParam::cBiasR2, t_prn(), t_lc::c2));
    603       }
    604     }
    605578    if (_usedSystems.contains('E')) {
    606579      lc = OPT->LCs('E');
  • trunk/BNC/src/PPP/pppParlist.h

    r9558 r9559  
    1616 public:
    1717  enum e_type {crdX, crdY, crdZ, rClkG, rClkR, rClkE, rClkC, trp, ion, amb,
    18                cBiasG1, cBiasR1, cBiasE1, cBiasC1, pBiasG1, pBiasE1, pBiasC1,
    19                cBiasG2, cBiasR2, cBiasE2, cBiasC2, pBiasG2, pBiasE2, pBiasC2};
     18               cBiasG1, cBiasE1, cBiasC1, pBiasG1, pBiasE1, pBiasC1,
     19               cBiasG2, cBiasE2, cBiasC2, pBiasG2, pBiasE2, pBiasC2};
    2020
    2121  t_pppParam(e_type type, const t_prn& prn, t_lc::type tLC, const std::vector<t_pppSatObs*>* obsVector = 0);
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r9556 r9559  
    6565  // Select pseudo-ranges and phase observations
    6666  // -------------------------------------------
    67   const string preferredAttrib = "G:12&PWCSLXYN R:12&PC E:1&BCX E:5&IQX C:IQX";
     67  const string preferredAttrib = "G:12&W R:12&P E:1&CX E:5&QX C:26&I";
    6868
    6969  for (unsigned iFreq = 1; iFreq < t_frequency::max; iFreq++) {
Note: See TracChangeset for help on using the changeset viewer.