Changeset 6115 in ntrip for trunk/BNC/src/PPP_free
- Timestamp:
- Sep 8, 2014, 5:41:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_free/pppFilter.cpp
r6112 r6115 55 55 using namespace std; 56 56 57 const unsigned MINOBS = 5; 58 const double MINELE = 10.0 * M_PI / 180.0; 59 const double MAXRES_CODE = 15.0; 60 const double MAXRES_PHASE_GPS = 0.04; 61 const double MAXRES_PHASE_GLONASS = 0.08; 62 const double GLONASS_WEIGHT_FACTOR = 5.0; 57 const double MAXRES_CODE = 2.98 * 3.0; 58 const double MAXRES_PHASE_GPS = 2.98 * 0.03; 59 const double MAXRES_PHASE_GLONASS = 2.98 * 0.03; 60 const double GLONASS_WEIGHT_FACTOR = 1.0; 63 61 64 62 #define LOG (_pppClient->log()) … … 255 253 Tracer tracer("t_pppFilter::cmpBancroft"); 256 254 257 if (epoData->sizeSys('G') < MINOBS) {255 if (epoData->sizeSys('G') < OPT->_minObs) { 258 256 LOG << "t_pppFilter::cmpBancroft: not enough data\n"; 259 257 return failure; … … 290 288 t_satData* satData = im.value(); 291 289 cmpEle(satData); 292 if (satData->eleSat < MINELE) {290 if (satData->eleSat < OPT->_minEle) { 293 291 delete satData; 294 292 im.remove(); … … 684 682 685 683 if (iPhase == 1) { 686 if (maxResGlo > MAXRES_PHASE_GLONASS) {684 if (maxResGlo > 2.98 * OPT->_maxResL1) { 687 685 LOG << "Outlier Phase " << prnGlo.toAscii().data() << ' ' << maxResGlo << endl; 688 686 return prnGlo; 689 687 } 690 else if (maxResGPS > MAXRES_PHASE_GPS) {688 else if (maxResGPS > 2.98 * OPT->_maxResL1) { 691 689 LOG << "Outlier Phase " << prnGPS.toAscii().data() << ' ' << maxResGPS << endl; 692 690 return prnGPS; 693 691 } 694 692 } 695 else if (iPhase == 0 && maxResGPS > MAXRES_CODE) {693 else if (iPhase == 0 && maxResGPS > 2.98 * OPT->_maxResC1) { 696 694 LOG << "Outlier Code " << prnGPS.toAscii().data() << ' ' << maxResGPS << endl; 697 695 return prnGPS;
Note:
See TracChangeset
for help on using the changeset viewer.