- Timestamp:
- Dec 28, 2014, 11:14:32 AM (10 years ago)
- Location:
- trunk/BNC/src/RTCM3
- Files:
-
- 2 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 } -
trunk/BNC/src/RTCM3/RTCM3coDecoder.h
r6467 r6471 66 66 int _providerID[3]; 67 67 bncTime _lastTime; 68 QMap<std::string, unsigned short> _IODs; 69 QMap<bncTime, QList<t_orbCorr> > _orbCorrections; 70 QMap<bncTime, QList<t_clkCorr> > _clkCorrections; 68 QMap<t_prn, unsigned short> _IODs; 69 QMap<bncTime, QList<t_orbCorr> > _orbCorrections; 70 QMap<bncTime, QList<t_clkCorr> > _clkCorrections; 71 QMap<t_prn, t_clkCorr> _lastClkCorrections; 72 QMap<bncTime, QList<t_satCodeBias> > _codeBiases; 71 73 }; 72 74
Note:
See TracChangeset
for help on using the changeset viewer.