Changeset 11227 in ntrip for trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
- Timestamp:
- Nov 26, 2026, 1:23:29 PM (less than one hour ago)
- File:
-
- 1 edited
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r11221 r11227 87 87 BNC_CORE, SLOT(slotNewTec(t_vTec)), conType); 88 88 89 connect(this, SIGNAL(newTecRms(t_vTec)), 90 BNC_CORE, SLOT(slotNewTecRms(t_vTec)), conType); 91 89 92 connect(this, SIGNAL(newMetaData(t_metaData)), 90 93 BNC_CORE, SLOT(slotNewMetaData(t_metaData)), conType); … … 111 114 _providerID[2] = -1; 112 115 113 _vTecMoreFollows = false; 116 _vTecMoreFollows = false; 117 _vTecRmsMoreFollows = false; 114 118 115 119 for (unsigned s = 0; s < CLOCKORBIT_SATNUM; s++) { … … 143 147 _phaseBiases.clear(); 144 148 _vTecMap.clear(); 149 _vTecRmsMap.clear(); 145 150 _metaDataMap.clear(); 146 151 _satAntennas.clear(); … … 309 314 // VTEC message starts the record of its epoch anew (sendResults()) 310 315 if (_vTEC.NumLayers > 0) { 311 _vTecMoreFollows = (irc == GCOBR_MESSAGEFOLLOWS); 316 if (_vTEC.RmsMap) { 317 _vTecRmsMoreFollows = (irc == GCOBR_MESSAGEFOLLOWS); 318 } 319 else { 320 _vTecMoreFollows = (irc == GCOBR_MESSAGEFOLLOWS); 321 } 312 322 } 313 323 // Keep _phaseBias intact: an Extended Phase Bias message (COBOFS_PBEXT) … … 682 692 // 400 times (Nov 2026), which summed up to 3900 TECU in PPP and SSR QC. 683 693 // Only the continuation of a multi-message model (previous MMI 1) appends. 684 if (!_vTecMoreFollows) { 685 _vTecMap[_lastTime] = t_vTec(); 686 } 687 _vTecMap[_lastTime]._time = _lastTime; 688 _vTecMap[_lastTime]._updateInt = _vTEC.UpdateInterval; 689 _vTecMap[_lastTime]._staID = _staID.toStdString(); 694 // The RMS of the VTEC (IGS-SSR IM202, same layout) is kept apart: it 695 // goes to the SSR QC only, not to the SSR file or PPP. 696 QMap<bncTime, t_vTec>& tecMap = _vTEC.RmsMap ? _vTecRmsMap : _vTecMap; 697 if (!(_vTEC.RmsMap ? _vTecRmsMoreFollows : _vTecMoreFollows)) { 698 tecMap[_lastTime] = t_vTec(); 699 } 700 t_vTec& vTec = tecMap[_lastTime]; 701 vTec._time = _lastTime; 702 vTec._updateInt = _vTEC.UpdateInterval; 703 vTec._staID = _staID.toStdString(); 690 704 for (unsigned ii = 0; ii < _vTEC.NumLayers; ii++) { 691 705 const SsrCorr::VTEC::IonoLayers& ionoLayer = _vTEC.Layers[ii]; … … 700 714 } 701 715 } 702 _vTecMap[_lastTime]._layers.push_back(layer);716 vTec._layers.push_back(layer); 703 717 } 704 718 } … … 936 950 } 937 951 } 952 QMutableMapIterator<bncTime, t_vTec> itTecRms(_vTecRmsMap); 953 while (itTecRms.hasNext()) { 954 itTecRms.next(); 955 if (all || itTecRms.key() < _lastTime) { 956 emit newTecRms(itTecRms.value()); 957 itTecRms.remove(); 958 } 959 } 938 960 QMutableMapIterator<bncTime, t_metaData> itMD(_metaDataMap); 939 961 while (itMD.hasNext()) {
Note:
See TracChangeset
for help on using the changeset viewer.
