Changeset 10534 in ntrip for trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
- Timestamp:
- Sep 17, 2024, 4:56:38 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r10527 r10534 98 98 99 99 _ssrCorr = 0; 100 100 101 } 101 102 … … 178 179 struct SsrCorr::PhaseBias phaseBiasSav; 179 180 struct SsrCorr::VTEC vTECSav; 180 memcpy(&clkOrbSav, &_clkOrb, sizeof(clkOrbSav)); // save state181 memcpy(&codeBiasSav, &_codeBias, sizeof(codeBiasSav));182 memcpy(&phaseBiasSav, &_phaseBias, sizeof(phaseBiasSav));183 memcpy(&vTECSav, &_vTEC, sizeof(vTECSav));181 memcpy(&clkOrbSav, &_clkOrb, sizeof(clkOrbSav)); // save state 182 memcpy(&codeBiasSav, &_codeBias, sizeof(codeBiasSav)); 183 memcpy(&phaseBiasSav, &_phaseBias, sizeof(phaseBiasSav)); 184 memcpy(&vTECSav, &_vTEC, sizeof(vTECSav)); 184 185 185 186 int bytesused = 0; … … 205 206 206 207 if (irc == GCOBR_OK || irc == GCOBR_MESSAGEFOLLOWS ) { 207 208 208 setEpochTime(); // sets _lastTime 209 209 … … 554 554 newProviderID[1] = _clkOrb.SSRSolutionID; 555 555 newProviderID[2] = _clkOrb.SSRIOD; 556 QString newProviderIDStr = QString(" [SSR Provider ID: %1 SSR Solution ID: %2 SSR IOD: %3]: ") 557 .arg(newProviderID[0]).arg(newProviderID[1]).arg(newProviderID[2]); 556 558 557 559 bool alreadySet = false; … … 569 571 570 572 if (alreadySet && different) { 571 emit newMessage("RTCM3coDecoder: Provider Changed : "+ _staID.toLatin1(), true);573 emit newMessage("RTCM3coDecoder: Provider Changed " + newProviderIDStr.toLatin1() + _staID.toLatin1(), true); 572 574 emit providerIDChanged(_staID); 573 575 } … … 657 659 } 658 660 else if (epoSecGlo != -1) { 661 QDate date = dateAndTimeFromGPSweek(currentTime.gpsw(), currentTime.gpssec()).date(); 662 if (_type == IGSssr) { 663 if (epoSecGPS != -1 && epoSecGPS != epoSecGlo) {// should be not done in case of an IGS-SSR encoding error => line has to be deleted 664 epoSecGlo = epoSecGlo + gnumleap(date.year(), date.month(), date.day()); 665 } 666 } 659 667 if (_type == RTCMssr) { 660 QDate date = dateAndTimeFromGPSweek(currentTime.gpsw(), currentTime.gpssec()).date();661 668 epoSecGlo = epoSecGlo - 3 * 3600 + gnumleap(date.year(), date.month(), date.day()); 662 669 } … … 673 680 } 674 681 else if (epoSecBds != -1) { 682 if (_type == IGSssr) { 683 if (epoSecGPS != -1 && epoSecGPS != epoSecBds) {// should be not done in case of an IGS-SSR encoding error => line has to be deleted 684 epoSecBds += 14.0; 685 if (epoSecBds > 604800.0) { 686 epoSecBds -= 7.0*24.0*60.0*60.0; 687 } 688 } 689 }// line has to be deleted 675 690 if (_type == RTCMssr) { 676 691 epoSecBds += 14.0;
Note:
See TracChangeset
for help on using the changeset viewer.