Changeset 3502 in ntrip
- Timestamp:
- Nov 16, 2011, 11:44:13 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3501 r3502 1002 1002 const double MAX_DISPLACEMENT = 0.20; 1003 1003 1004 //// beg test 1004 // Switch to last ephemeris (if possible) 1005 // -------------------------------------- 1005 1006 QMutableVectorIterator<cmbCorr*> im(corrs()); 1006 1007 while (im.hasNext()) { 1007 1008 cmbCorr* corr = im.next(); 1008 if (!corr->eph) { 1009 out << "checkOrbit: missing eph " << corr->prn << endl; 1009 QString prn = corr->prn; 1010 if (_eph.find(prn) == _eph.end()) { 1011 out << "checkOrbit: missing eph (not found) " << corr->prn << endl; 1010 1012 im.remove(); 1011 1013 } 1012 } 1013 //// end test 1014 else { 1015 if ( corr->eph == _eph[prn]->last || corr->eph == _eph[prn]->prev ) { 1016 switchToLastEph(_eph[prn]->last, corr); 1017 } 1018 else { 1019 out << "checkOrbit: missing eph (deleted) " << corr->prn << endl; 1020 im.remove(); 1021 } 1022 } 1023 } 1014 1024 1015 1025 while (true) { … … 1023 1033 cmbCorr* corr = it.next(); 1024 1034 QString prn = corr->prn; 1025 switchToLastEph(_eph[prn]->last, corr);1026 1035 if (meanRao.find(prn) == meanRao.end()) { 1027 1036 meanRao[prn].ReSize(4);
Note:
See TracChangeset
for help on using the changeset viewer.