Changeset 9559 in ntrip for trunk/BNC/src/PPP
- Timestamp:
- Dec 1, 2021, 5:47:15 PM (3 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppParlist.cpp
r9558 r9559 102 102 _noise = OPT->_noiseIon; 103 103 break; 104 case cBiasG1: case cBias R1: case cBiasE1: case cBiasC1:105 case cBiasG2: case cBias R2: case cBiasE2: case cBiasC2:104 case cBiasG1: case cBiasE1: case cBiasC1: 105 case cBiasG2: case cBiasE2: case cBiasC2: 106 106 _epoSpec = false; 107 107 _sigma0 = OPT->_aprSigCodeBias; … … 246 246 if ((obs->prn().system() == 'G') && (tLC == t_lc::c1)) {return 1.0;} else {return 0.0;} 247 247 break; 248 case cBiasR1:249 if ((obs->prn().system() == 'R') && (tLC == t_lc::c1)) {return 1.0;} else {return 0.0;}250 break;251 248 case cBiasE1: 252 249 if ((obs->prn().system() == 'E') && (tLC == t_lc::c1)) {return 1.0;} else {return 0.0;} … … 257 254 case cBiasG2: 258 255 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;}262 256 break; 263 257 case cBiasE2: … … 328 322 case cBiasG2: case pBiasG2: 329 323 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 ";334 324 break; 335 325 case cBiasE1: case pBiasE1: … … 519 509 it = _params.erase(it); 520 510 } 521 else if ((par->type() == t_pppParam::cBiasR1 ||522 par->type() == t_pppParam::cBiasR2) && !usedSystems().contains('R')) {523 #ifdef BNC_DEBUG_PPP524 LOG << "remove1 " << par->toString() << std::endl;525 #endif526 delete par;527 it = _params.erase(it);528 }529 511 else if ((par->type() == t_pppParam::cBiasE1 || 530 512 par->type() == t_pppParam::cBiasE2 || … … 594 576 } 595 577 } 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 }605 578 if (_usedSystems.contains('E')) { 606 579 lc = OPT->LCs('E'); -
trunk/BNC/src/PPP/pppParlist.h
r9558 r9559 16 16 public: 17 17 enum e_type {crdX, crdY, crdZ, rClkG, rClkR, rClkE, rClkC, trp, ion, amb, 18 cBiasG1, cBias R1, cBiasE1, cBiasC1, pBiasG1, pBiasE1, pBiasC1,19 cBiasG2, cBias R2, cBiasE2, cBiasC2, pBiasG2, pBiasE2, pBiasC2};18 cBiasG1, cBiasE1, cBiasC1, pBiasG1, pBiasE1, pBiasC1, 19 cBiasG2, cBiasE2, cBiasC2, pBiasG2, pBiasE2, pBiasC2}; 20 20 21 21 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 65 65 // Select pseudo-ranges and phase observations 66 66 // ------------------------------------------- 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"; 68 68 69 69 for (unsigned iFreq = 1; iFreq < t_frequency::max; iFreq++) {
Note:
See TracChangeset
for help on using the changeset viewer.