Changeset 6471 in ntrip for trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
- Timestamp:
- Dec 28, 2014, 11:14:32 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r6470 r6471 249 249 orbCorrections.push_back(orbCorr); 250 250 251 _IODs[orbCorr._prn .toString()] = _clkOrb.Sat[ii].IOD;251 _IODs[orbCorr._prn] = _clkOrb.Sat[ii].IOD; 252 252 } 253 253 … … 267 267 clkCorr._dotDotDClk = _clkOrb.Sat[ii].Clock.DeltaA2 / t_CST::c; 268 268 269 if (_IODs.contains(clkCorr._prn.toString())) { 270 clkCorr._iod = _IODs[clkCorr._prn.toString()]; 269 _lastClkCorrections[clkCorr._prn] = clkCorr; 270 271 if (_IODs.contains(clkCorr._prn)) { 272 clkCorr._iod = _IODs[clkCorr._prn]; 271 273 clkCorrections.push_back(clkCorr); 272 274 } … … 277 279 if ( _clkOrb.messageType == COTYPE_GPSHR || 278 280 _clkOrb.messageType == COTYPE_GLONASSHR ) { 281 282 t_prn prn(sysCh, _clkOrb.Sat[ii].ID); 283 if (_lastClkCorrections.contains(prn)) { 284 t_clkCorr clkCorr; 285 clkCorr = _lastClkCorrections[prn]; 286 clkCorr._time = _lastTime; 287 clkCorr._dClk +=_clkOrb.Sat[ii].hrclock / t_CST::c; 288 if (_IODs.contains(clkCorr._prn)) { 289 clkCorr._iod = _IODs[clkCorr._prn]; 290 clkCorrections.push_back(clkCorr); 291 } 292 } 279 293 } 280 294 }
Note:
See TracChangeset
for help on using the changeset viewer.