Changeset 3489 in ntrip for trunk/BNC/combination
- Timestamp:
- Oct 31, 2011, 9:12:48 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3488 r3489 1000 1000 t_irc bncComb::checkOrbits() { 1001 1001 1002 const double MAX_DISPLACEMENT = 0. 10;1002 const double MAX_DISPLACEMENT = 0.20; 1003 1003 1004 1004 while (true) { … … 1006 1006 // Compute Mean Corrections for all Satellites 1007 1007 // ------------------------------------------- 1008 QMap<QString, int> numCorr; 1008 1009 QMap<QString, ColumnVector> meanRao; 1009 1010 QVectorIterator<cmbCorr*> it(corrs()); … … 1019 1020 meanRao[prn].Rows(1,3) += corr->rao; 1020 1021 meanRao[prn](4) += 1; 1022 } 1023 if (numCorr.find(prn) == numCorr.end()) { 1024 numCorr[prn] = 1; 1025 } 1026 else { 1027 numCorr[prn] += 1; 1021 1028 } 1022 1029 switchToLastEph(_eph[prn]->last, corr); … … 1054 1061 cmbCorr* corr = im.next(); 1055 1062 QString prn = corr->prn; 1056 if (corr == maxDiff[prn]) { 1063 cout << prn.toAscii().data() << " " << numCorr[prn] << endl; 1064 if (numCorr[prn] < 2) { 1065 im.remove(); 1066 } 1067 else if (corr == maxDiff[prn]) { 1057 1068 double norm = corr->diffRao.norm_Frobenius(); 1058 1069 if (norm > MAX_DISPLACEMENT) {
Note:
See TracChangeset
for help on using the changeset viewer.