Changeset 5914 in ntrip
- Timestamp:
- Aug 12, 2014, 4:51:03 PM (11 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r5877 r5914 82 82 _tides = new t_tides(); 83 83 84 if (!_opt->_antexFile .empty()) {85 _antex = new bncAntex(_opt->_antexFile .c_str());84 if (!_opt->_antexFileName.empty()) { 85 _antex = new bncAntex(_opt->_antexFileName.c_str()); 86 86 } 87 87 else { … … 206 206 ColumnVector& xyzc, bool print) { 207 207 208 t_lc::type tLC = (OPT->dualFreqRequired( ) ? t_lc::cIF : t_lc::c1);208 t_lc::type tLC = (OPT->dualFreqRequired('G') ? t_lc::cIF : t_lc::c1); 209 209 210 210 while (true) { … … 276 276 double t_pppClient::cmpOffGG(vector<t_pppSatObs*>& obsVector) { 277 277 278 t_lc::type tLC = (OPT->dualFreqRequired( ) ? t_lc::cIF : t_lc::c1);278 t_lc::type tLC = (OPT->dualFreqRequired('R') ? t_lc::cIF : t_lc::c1); 279 279 double offGG = 0.0; 280 280 -
trunk/BNC/src/PPP/pppEphPool.cpp
r5828 r5914 133 133 for (unsigned ii = 0; ii < _ephs.size(); ii++) { 134 134 t_eph* eph = _ephs[ii]; 135 t_irc irc = eph->getCrd(tt, xc, vv, OPT-> corrRequired());135 t_irc irc = eph->getCrd(tt, xc, vv, OPT->useOrbClkCorr()); 136 136 if (irc == success) { 137 137 if (eph->prn().system() == 'R') { -
trunk/BNC/src/PPP/pppParlist.cpp
r5877 r5914 74 74 case crdX: 75 75 _epoSpec = true; 76 _sigma0 = OPT->_ sigCrd[0];76 _sigma0 = OPT->_aprSigCrd[0]; 77 77 break; 78 78 case crdY: 79 79 _epoSpec = true; 80 _sigma0 = OPT->_ sigCrd[1];80 _sigma0 = OPT->_aprSigCrd[1]; 81 81 break; 82 82 case crdZ: 83 83 _epoSpec = true; 84 _sigma0 = OPT->_ sigCrd[2];84 _sigma0 = OPT->_aprSigCrd[2]; 85 85 break; 86 86 case clkR: … … 106 106 _sigma0 = 100.0; 107 107 break; 108 case offGG:109 _epoSpec = true;110 _sigma0 = 1000.0;111 _x0 = PPP_CLIENT->offGG();112 break;113 108 case trp: 114 109 _epoSpec = false; 115 _sigma0 = OPT->_sigTropo; 116 _noise = OPT->_noiseTropo; 117 break; 118 case bias: 119 _epoSpec = true; 120 _sigma0 = 10.0; 110 _sigma0 = OPT->_aprSigTrp; 111 _noise = OPT->_noiseTrp; 121 112 break; 122 113 } … … 136 127 // Special Case - Melbourne-Wuebbena 137 128 // --------------------------------- 138 if (tLC == t_lc::MW && _type != amb && _type != bias) {129 if (tLC == t_lc::MW && _type != amb) { 139 130 return 0.0; 140 131 } … … 152 143 case clkR: 153 144 return 1.0; 154 case offGG:155 return (obs->prn().system() == 'R') ? 1.0 : 0.0;156 145 case amb: 157 146 if (obs->prn() == _prn) { … … 176 165 case trp: 177 166 return 1.0 / sin(obs->eleSat()); 178 case bias:179 if (tLC == _tLC && obs->prn().system() == _prn.system()) {180 return 1.0;181 }182 else {183 return 0.0;184 }185 167 } 186 168 … … 208 190 ss << "AMB " << left << setw(3) << t_lc::toString(_tLC) << right << ' ' << _prn.toString(); 209 191 break; 210 case offGG:211 ss << "OGG ";212 break;213 192 case trp: 214 193 ss << "TRP "; 215 break;216 case bias:217 ss << "BIAS " << _prn.system() << ' ' << left << setw(3) << t_lc::toString(_tLC);218 194 break; 219 195 } … … 310 286 required.push_back(new t_pppParam(t_pppParam::clkR, t_prn(), t_lc::dummy)); 311 287 312 // GPS-Glonass Clock Offset313 // ------------------------314 if (OPT->useGlonass()) {315 required.push_back(new t_pppParam(t_pppParam::offGG, t_prn(), t_lc::dummy));316 }317 318 // Receiver Biases319 // ---------------320 for (unsigned ii = 0; ii < OPT->_estBias.size(); ii++) {321 const t_pppOptions::t_optBias& optBias = OPT->_estBias[ii];322 required.push_back(new t_pppParam(t_pppParam::bias, t_prn(optBias._system, 1), optBias._tLC));323 }324 325 288 // Troposphere 326 289 // ----------- 327 if (OPT->estTr opo()) {290 if (OPT->estTrp()) { 328 291 required.push_back(new t_pppParam(t_pppParam::trp, t_prn(), t_lc::dummy)); 329 292 } -
trunk/BNC/src/PPP/pppParlist.h
r5877 r5914 14 14 class t_pppParam { 15 15 public: 16 enum e_type {crdX, crdY, crdZ, clkR, amb, offGG, trp, bias};16 enum e_type {crdX, crdY, crdZ, clkR, amb, trp}; 17 17 18 18 t_pppParam(e_type type, const t_prn& prn, t_lc::type tLC,
Note:
See TracChangeset
for help on using the changeset viewer.