Changeset 2991 in ntrip
- Timestamp:
- Feb 8, 2011, 6:48:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r2990 r2991 113 113 // --------------------- 114 114 int nextPar = 0; 115 QMapIterator<QString, cmbAC*> it(_ACs); 116 while (it.hasNext()) { 117 it.next(); 118 cmbAC* AC = it.value(); 119 _params.push_back(new cmbParam(cmbParam::AC_offset, ++nextPar, AC->name, "")); 120 } 121 it.toFront(); 122 while (it.hasNext()) { 123 it.next(); 124 cmbAC* AC = it.value(); 125 for (int iGps = 1; iGps <= 32; iGps++) { 126 QString prn = QString("G%1").arg(iGps, 2, 10, QChar('0')); 127 _params.push_back(new cmbParam(cmbParam::Sat_offset, ++nextPar, AC->name, prn)); 128 } 129 } 115 130 for (int iGps = 1; iGps <= 32; iGps++) { 116 131 QString prn = QString("G%1").arg(iGps, 2, 10, QChar('0')); 117 132 _params.push_back(new cmbParam(cmbParam::clk, ++nextPar, "", prn)); 118 QMapIterator<QString, cmbAC*> it(_ACs);119 while (it.hasNext()) {120 it.next();121 cmbAC* AC = it.value();122 if (iGps == 1) {123 _params.push_back(new cmbParam(cmbParam::AC_offset, ++nextPar, AC->name, ""));124 }125 _params.push_back(new cmbParam(cmbParam::Sat_offset, ++nextPar, AC->name, prn));126 }127 133 } 128 134 … … 364 370 QTextStream out(&_log, QIODevice::WriteOnly); 365 371 366 out << "Combination:" << endl367 << "----------------------------- " << endl;372 out << "Combination:" << endl 373 << "------------------------------" << endl; 368 374 369 375 // Predict Parameters Values, Add White Noise … … 458 464 out.setRealNumberPrecision(4); 459 465 out << pp->toString() << " " 460 << pp->xx << " +- " << _QQ(pp->index,pp->index) << endl;466 << pp->xx << " +- " << sqrt(_QQ(pp->index,pp->index)) << endl; 461 467 } 462 468 }
Note:
See TracChangeset
for help on using the changeset viewer.