Changeset 10229 in ntrip for trunk/BNC/src/combination
- Timestamp:
- Oct 26, 2023, 1:32:14 PM (13 months ago)
- Location:
- trunk/BNC/src/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r10227 r10229 340 340 _buffer.remove(sys); 341 341 } 342 _params.clear(); 343 _buffer.clear(); 342 344 _cmbSysPrn.clear(); 343 345 … … 346 348 _epoClkData.pop_front(); 347 349 } 348 349 350 } 350 351 … … 377 378 void bncComb::slotNewOrbCorrections(QList<t_orbCorr> orbCorrections) { 378 379 QMutexLocker locker(&_mutex); 379 380 380 for (int ii = 0; ii < orbCorrections.size(); ii++) { 381 381 t_orbCorr& orbCorr = orbCorrections[ii]; … … 443 443 storage[satCodeBias._prn] = satCodeBias; 444 444 } 445 445 446 } 446 447 … … 655 656 // Create new correction 656 657 // --------------------- 657 _newCorr = new cmbCorr();658 _newCorr = new cmbCorr(); 658 659 _newCorr->_prn = prn; 659 660 _newCorr->_time = clkCorr._time; … … 756 757 // -------------------------------- 757 758 QVector<cmbCorr*>& corrs = _buffer[sys].corrs; 758 759 759 QVectorIterator<cmbCorr*> itCorr(corrs); 760 760 bool available = false; … … 763 763 QString prn = corr->_prn; 764 764 QString acName = corr->_acName; 765 if (_newCorr->_acName == acName && _newCorr->_prn == prn) { 765 if (_newCorr->_acName == acName && 766 _newCorr->_prn == prn) { 766 767 available = true; 767 768 } … … 861 862 irc = processEpoch_singleEpoch(epoTime, sys, out, resCorr, dx); 862 863 } 863 864 864 865 // Update Parameter Values, Print Results 865 866 // -------------------------------------- … … 895 896 dumpResults(epoTime, resCorr); 896 897 } 897 898 898 } 899 899 … … 1022 1022 // Send results to RTNet Decoder and directly to PPP Client 1023 1023 //////////////////////////////////////////////////////////////////////////// 1024 void bncComb::dumpResults(bncTime epoTime, constQMap<QString, cmbCorr*>& resCorr) {1024 void bncComb::dumpResults(bncTime epoTime, QMap<QString, cmbCorr*>& resCorr) { 1025 1025 1026 1026 QList<t_orbCorr> orbCorrections; … … 1036 1036 year, month, day, hour, minute, sec); 1037 1037 1038 QM apIterator<QString, cmbCorr*> it(resCorr);1038 QMutableMapIterator<QString, cmbCorr*> it(resCorr); 1039 1039 while (it.hasNext()) { 1040 1040 it.next(); … … 1060 1060 if (corr->_eph->getCrd(epoTime, xc, vv, true) != success) { 1061 1061 delete corr; 1062 it.remove(); 1062 1063 continue; 1063 1064 } … … 1127 1128 outLines += "\n"; 1128 1129 delete corr; 1130 it.remove(); 1129 1131 } 1130 1132 -
trunk/BNC/src/combination/bnccomb.h
r10227 r10229 88 88 isAPC = false; 89 89 } 90 ~cmbAC() {} 90 ~cmbAC() { 91 numObs.clear(); 92 } 91 93 QString mountPoint; 92 94 QString name; … … 234 236 t_irc createAmat(char sys, Matrix& AA, ColumnVector& ll, DiagonalMatrix& PP, 235 237 const ColumnVector& x0, QMap<QString, cmbCorr*>& resCorr); 236 void dumpResults(bncTime epoTime, constQMap<QString, cmbCorr*>& resCorr);238 void dumpResults(bncTime epoTime, QMap<QString, cmbCorr*>& resCorr); 237 239 void printResults(bncTime epoTime, QTextStream& out, const QMap<QString, cmbCorr*>& resCorr); 238 240 void switchToLastEph(t_eph* lastEph, cmbCorr* corr); … … 246 248 bncTime _resTime; 247 249 cmbCorr* _newCorr; 248 QMap<char, cmbEpoch> _buffer;249 250 bncRtnetDecoder* _rtnetDecoder; 250 QMap<char, SymmetricMatrix> _QQ;251 251 QByteArray _log; 252 252 bncAntex* _antex; … … 256 256 int _cmbSampl; 257 257 int _ms; 258 QMap<char, cmbEpoch> _buffer; 259 QMap<char, SymmetricMatrix> _QQ; 258 260 QMap<char, QString> _masterOrbitAC; 259 261 QMap<char, unsigned> _masterMissingEpochs; 260 262 QMap<char, bool> _masterIsAPC; 261 QString _cmbRefAttributes;262 263 QMap<char, QVector<cmbParam*>> _params; 263 264 QMap<QString, QMap<t_prn, t_orbCorr> > _orbCorrections; … … 266 267 bncEphUser _ephUser; 267 268 SsrCorr* _ssrCorr; 269 QString _cmbRefAttributes; 268 270 bool _useGps; 269 271 bool _useGlo;
Note:
See TracChangeset
for help on using the changeset viewer.