Changeset 9821 in ntrip for trunk/BNC/src/combination
- Timestamp:
- Sep 9, 2022, 10:57:27 AM (3 years ago)
- Location:
- trunk/BNC/src/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r9819 r9821 174 174 QStringList hlp = it.next().split(" "); 175 175 cmbAC* newAC = new cmbAC(); 176 newAC->mountPoint = hlp[0]; 177 newAC->name = hlp[1]; 178 newAC->weight 176 newAC->mountPoint = hlp[0]; 177 newAC->name = hlp[1]; 178 newAC->weightFactor = hlp[2].toDouble(); 179 179 QMapIterator<char, unsigned> itSys(_cmbSysPrn); 180 180 // init … … 456 456 // ---------------------- 457 457 QString acName; 458 double weigthFactor; 458 459 QListIterator<cmbAC*> icAC(_ACs); 459 460 while (icAC.hasNext()) { … … 461 462 if (AC->mountPoint == staID) { 462 463 acName = AC->name; 464 weigthFactor = AC->weightFactor; 463 465 break; 464 466 } … … 492 494 newCorr->_acName = acName; 493 495 newCorr->_clkCorr = clkCorr; 496 newCorr->_weightFactor = weigthFactor; 494 497 495 498 // Check orbit correction … … 1033 1036 ll(iObs) = (corr->_clkCorr._dClk * t_CST::c - corr->_satCodeBiasIF) - DotProduct(AA.Row(iObs), x0); 1034 1037 1038 PP(iObs, iObs) *= 1.0 / (corr->_weightFactor * corr->_weightFactor); 1035 1039 } 1036 1040 -
trunk/BNC/src/combination/bnccomb.h
r9819 r9821 65 65 public: 66 66 cmbAC() { 67 weight = 0.0;68 numObs['G'] = 0; 69 numObs['R'] = 0; 70 numObs['E'] = 0; 71 numObs['C'] = 0; 72 numObs['J'] = 0; 73 numObs['S'] = 0; 74 numObs['I'] = 0; 67 weightFactor = 1.0; 68 numObs['G'] = 0; 69 numObs['R'] = 0; 70 numObs['E'] = 0; 71 numObs['C'] = 0; 72 numObs['J'] = 0; 73 numObs['S'] = 0; 74 numObs['I'] = 0; 75 75 } 76 76 ~cmbAC() {} 77 77 QString mountPoint; 78 78 QString name; 79 double weight; 79 double weightFactor; 80 80 QMap<char, unsigned> numObs; 81 81 }; … … 101 101 double _dClkResult; 102 102 ColumnVector _diffRao; 103 double _weightFactor; 103 104 QString ID() {return _acName + "_" + _prn;} 104 105 };
Note:
See TracChangeset
for help on using the changeset viewer.