Changeset 3497 in ntrip
- Timestamp:
- Nov 6, 2011, 11:37:25 AM (13 years ago)
- Location:
- trunk/BNC/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3490 r3497 541 541 // Check Satellite Positions for Outliers 542 542 // -------------------------------------- 543 if (checkOrbits() != success) { 543 if (checkOrbits(out) != success) { 544 544 return failure; 545 545 } … … 849 849 // Check Satellite Positions for Outliers 850 850 // -------------------------------------- 851 if (checkOrbits() != success) { 851 if (checkOrbits(out) != success) { 852 852 return failure; 853 853 } … … 998 998 // Check Satellite Positions for Outliers 999 999 //////////////////////////////////////////////////////////////////////////// 1000 t_irc bncComb::checkOrbits() { 1000 t_irc bncComb::checkOrbits(QTextStream& out) { 1001 1001 1002 1002 const double MAX_DISPLACEMENT = 0.20; … … 1067 1067 double norm = corr->diffRao.norm_Frobenius(); 1068 1068 if (norm > MAX_DISPLACEMENT) { 1069 out << _resTime.datestr().c_str() << " " 1070 << _resTime.timestr().c_str() << " " 1071 << "Orbit Outlier: " 1072 << corr->acName.toAscii().data() << " " 1073 << prn.toAscii().data() << " " 1074 << corr->iod << " " 1075 << norm << endl; 1069 1076 im.remove(); 1070 1077 removed = true; … … 1078 1085 } 1079 1086 1080 // //// beg test1081 // QVectorIterator<cmbCorr*> it(corrs());1082 // while (it.hasNext()) {1083 // cmbCorr* corr = it.next();1084 // QString prn = corr->prn;1085 // cout << corr->acName.toAscii().data() << " " << prn.toAscii().data() << " "1086 // << corr->iod << " " << corr->diffRao.t();1087 // }1088 // cout << endl;1089 // //// end tets1090 1091 1087 return success; 1092 1088 } -
trunk/BNC/combination/bnccomb.h
r3488 r3497 88 88 void printResults(QTextStream& out, const QMap<QString, t_corr*>& resCorr); 89 89 void switchToLastEph(const t_eph* lastEph, t_corr* corr); 90 t_irc checkOrbits(); 90 t_irc checkOrbits(QTextStream& out); 91 91 92 92 QVector<cmbCorr*>& corrs() {return _buffer[_resTime].corrs;}
Note:
See TracChangeset
for help on using the changeset viewer.