- Timestamp:
- Sep 2, 2011, 8:48:16 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r3408 r3409 59 59 const double MINELE = 10.0 * M_PI / 180.0; 60 60 const double MAXRES_CODE = 10.0; 61 const double MAXRES_PHASE = 0.0 2;61 const double MAXRES_PHASE = 0.04; 62 62 const double GLONASS_WEIGHT_FACTOR = 5.0; 63 63 … … 1224 1224 // Try with all satellites, then with all minus one, etc. 1225 1225 // ------------------------------------------------------ 1226 const unsigned MAX_NEGLECT = 1; 1227 for (unsigned nNeglected = 0; nNeglected <= MAX_NEGLECT; nNeglected++) { 1226 for (unsigned nNeglected = 0; nNeglected <= allPrns.size() - MINOBS; nNeglected++) { 1228 1227 usedPrns = allPrns; 1229 1228 … … 1242 1241 // Remove Neglected Satellites from epoData 1243 1242 // ---------------------------------------- 1243 unsigned neglectedGPS = 0; 1244 1244 for (unsigned ip = 0; ip < allPrns.size(); ip++) { 1245 1245 QString prn = allPrns[ip]; … … 1247 1247 epoData->satData.remove(prn); 1248 1248 strNeglected += prn + " "; 1249 } 1249 if (prn[0] == 'G') { 1250 ++neglectedGPS; 1251 } 1252 } 1253 } 1254 if (neglectedGPS > 1) { 1255 continue; 1250 1256 } 1251 1257 if (epoData->sizeSys('G') < MINOBS) {
Note:
See TracChangeset
for help on using the changeset viewer.