Changeset 9473 in ntrip
- Timestamp:
- Jul 13, 2021, 10:11:20 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppSatObs.cpp
r9446 r9473 17 17 18 18 #include <iostream> 19 #include <iomanip> 19 20 #include <cmath> 20 21 #include <newmatio.h> … … 304 305 305 306 map<t_frequency::type, double>::const_iterator it; 306 for (it = codeCoeff.begin(); it != codeCoeff.end(); it++) { //cout << "codeCoeff : " << t_frequency::toString(it->first).c_str() << ": " << it->second << endl;307 for (it = codeCoeff.begin(); it != codeCoeff.end(); it++) { 307 308 retVal += it->second * it->second * OPT->_sigmaC1 * OPT->_sigmaC1; 308 309 } 309 310 310 for (it = phaseCoeff.begin(); it != phaseCoeff.end(); it++) { //cout << "phaseCoeff: " << t_frequency::toString(it->first).c_str() << ": " << it->second << endl;311 for (it = phaseCoeff.begin(); it != phaseCoeff.end(); it++) { 311 312 retVal += it->second * it->second * OPT->_sigmaL1 * OPT->_sigmaL1; 312 313 } … … 314 315 retVal = sqrt(retVal); 315 316 316 // De-Weight GLONASS and BDS 317 // -------------------------- 318 if ((_prn.system() == 'R' && (t_lc::includesCode(tLC) || t_lc::includesPhase(tLC))) || 319 (_prn.system() == 'C' && (t_lc::includesCode(tLC) || t_lc::includesPhase(tLC)))) { 317 // De-Weight GLONASS 318 // ----------------- 319 if (_prn.system() == 'R' && (t_lc::includesCode(tLC) || t_lc::includesPhase(tLC))) { 320 320 retVal *= 5.0; 321 321 } 322 323 // De-Weight BDS 324 // ------------- 325 if (_prn.system() == 'C' && (t_lc::includesCode(tLC) || t_lc::includesPhase(tLC))) { 326 retVal *= 2.0; 327 } 328 322 329 323 330 // Elevation-Dependent Weighting … … 345 352 346 353 map<t_frequency::type, double>::const_iterator it; 347 for (it = codeCoeff.begin(); it != codeCoeff.end(); it++) { //cout << "codeCoeff: " << it->first << ": " << it->second << endl;354 for (it = codeCoeff.begin(); it != codeCoeff.end(); it++) { 348 355 retVal += it->second * it->second * OPT->_maxResC1 * OPT->_maxResC1; 349 356 } 350 for (it = phaseCoeff.begin(); it != phaseCoeff.end(); it++) { //cout << "phaseCoeff: " << it->first << ": " << it->second << endl;357 for (it = phaseCoeff.begin(); it != phaseCoeff.end(); it++) { 351 358 retVal += it->second * it->second * OPT->_maxResL1 * OPT->_maxResL1; 352 359 }
Note:
See TracChangeset
for help on using the changeset viewer.