Changeset 9036 in ntrip for branches/BNC_2.12/src/combination
- Timestamp:
- Aug 27, 2020, 9:36:18 AM (4 years ago)
- Location:
- branches/BNC_2.12/src/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/combination/bnccomb.cpp
r8696 r9036 162 162 } 163 163 164 QString ssrFormat; 165 QListIterator<QString> it(settings.value("uploadMountpointsOut").toStringList()); 166 while (it.hasNext()) { 167 QStringList hlp = it.next().split(","); 168 if (hlp.size() > 7) { 169 ssrFormat = hlp[7]; 170 } 171 } 172 _ssrCorr = 0; 173 if (ssrFormat == "IGS-SSR") { 174 _ssrCorr = new SsrCorrIgs(); 175 } 176 else if (ssrFormat == "RTCM-SSR") { 177 _ssrCorr = new SsrCorrRtcm(); 178 } 179 164 180 _rtnetDecoder = 0; 165 181 … … 266 282 } 267 283 delete _rtnetDecoder; 284 if (_ssrCorr) { 285 delete _ssrCorr; 286 } 268 287 delete _antex; 269 288 for (int iPar = 1; iPar <= _params.size(); iPar++) { … … 714 733 715 734 QString outLines; 716 QStringList corrLines;735 //QStringList corrLines; 717 736 718 737 unsigned year, month, day, hour, minute; … … 770 789 771 790 QString line; 772 int messageType = COTYPE_GPSCOMBINED;791 int messageType = _ssrCorr->COTYPE_GPSCOMBINED; 773 792 int updateInt = 0; 774 793 line.sprintf("%d %d %d %.1f %s" … … 789 808 corr->_orbCorr._dotXr[2], 790 809 0.0); 791 corrLines << line;810 //corrLines << line; 792 811 793 812 delete corr; … … 883 902 } 884 903 // if (_useGlonass) { 885 // for ( intiGlo = 1; iGlo <= t_prn::MAXPRN_GLONASS; iGlo++) {904 // for (unsigned iGlo = 1; iGlo <= t_prn::MAXPRN_GLONASS; iGlo++) { 886 905 // QString prn = QString("R%1_0").arg(iGlo, 2, 10, QChar('0')); 887 906 // ++iCond; -
branches/BNC_2.12/src/combination/bnccomb.h
r7299 r9036 7 7 #include "bncephuser.h" 8 8 #include "satObs.h" 9 #include "../RTCM3/clock_and_orbit/clock_orbit_rtcm.h" 10 #include "../RTCM3/clock_and_orbit/clock_orbit_igs.h" 9 11 10 12 class bncRtnetDecoder; … … 126 128 QMap<QString, QMap<t_prn, t_orbCorr> > _orbCorrections; 127 129 bncEphUser _ephUser; 130 SsrCorr* _ssrCorr; 128 131 }; 129 132
Note:
See TracChangeset
for help on using the changeset viewer.