Changeset 9866 in ntrip for trunk/BNC/src/pppMain.cpp
- Timestamp:
- Oct 31, 2022, 9:49:58 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppMain.cpp
r9783 r9866 149 149 t_pppOptions* opt = new t_pppOptions(); 150 150 151 opt->_realTime = _realTime; 152 opt->_roverName = hlp[0].toStdString(); 153 opt->_aprSigCrd[0] = hlp[1].toDouble()+1e-10; 154 opt->_aprSigCrd[1] = hlp[2].toDouble()+1e-10; 155 opt->_aprSigCrd[2] = hlp[3].toDouble()+1e-10; 156 opt->_noiseCrd[0] = hlp[4].toDouble()+1e-10; 157 opt->_noiseCrd[1] = hlp[5].toDouble()+1e-10; 158 opt->_noiseCrd[2] = hlp[6].toDouble()+1e-10; 159 opt->_aprSigTrp = hlp[7].toDouble(); 160 opt->_noiseTrp = hlp[8].toDouble(); 161 opt->_nmeaPort = hlp[9].toInt(); 162 151 opt->_realTime = _realTime; 152 opt->_roverName = hlp[0].toStdString(); 153 opt->_aprSigCrd[0] = hlp[1].toDouble()+1e-10; 154 opt->_aprSigCrd[1] = hlp[2].toDouble()+1e-10; 155 opt->_aprSigCrd[2] = hlp[3].toDouble()+1e-10; 156 opt->_noiseCrd[0] = hlp[4].toDouble()+1e-10; 157 opt->_noiseCrd[1] = hlp[5].toDouble()+1e-10; 158 opt->_noiseCrd[2] = hlp[6].toDouble()+1e-10; 159 opt->_aprSigTrp = hlp[7].toDouble(); 160 opt->_noiseTrp = hlp[8].toDouble(); 161 opt->_nmeaPort = hlp[9].toInt(); 162 #ifdef USE_PPP 163 opt->_signalPriorities = hlp[10].toStdString(); 164 #endif 163 165 if (_realTime) { 164 166 opt->_corrMount.assign(settings.value("PPP/corrMount").toString().toStdString()); … … 181 183 #endif 182 184 opt->_sigmaC1 = settings.value("PPP/sigmaC1").toDouble(); if (opt->_sigmaC1 <= 0.0) opt->_sigmaC1 = 2.00; 183 opt->_sigmaL1 = settings.value("PPP/sigmaL1").toDouble(); if (opt->_sigmaL1 <= 0.0) opt->_sigmaL1 = 0.0 1;185 opt->_sigmaL1 = settings.value("PPP/sigmaL1").toDouble(); if (opt->_sigmaL1 <= 0.0) opt->_sigmaL1 = 0.02; 184 186 opt->_sigmaGIM = settings.value("PPP/sigmaGIM").toDouble();if (opt->_sigmaGIM <= 0.0) opt->_sigmaGIM = 5.00; 185 187 opt->_corrWaitTime = settings.value("PPP/corrWaitTime").toDouble(); … … 412 414 opt->_minObs = settings.value("PPP/minObs").toInt(); if (opt->_minObs < 4) opt->_minObs = 4; 413 415 opt->_minEle = settings.value("PPP/minEle").toDouble() * M_PI / 180.0; 414 opt->_maxResC1 = settings.value("PPP/maxResC1").toDouble(); if (opt->_maxResC1 <= 0.0) opt->_maxResC1 = 4.0;415 opt->_maxResL1 = settings.value("PPP/maxResL1").toDouble(); if (opt->_maxResL1 <= 0.0) opt->_maxResL1 = 0.0 3;416 opt->_maxResGIM = settings.value("PPP/maxResGIM").toDouble(); if (opt->_maxResGIM <= 0.0) opt->_maxResGIM = 6.0;416 opt->_maxResC1 = settings.value("PPP/maxResC1").toDouble(); if (opt->_maxResC1 <= 0.0) opt->_maxResC1 = 2.0; 417 opt->_maxResL1 = settings.value("PPP/maxResL1").toDouble(); if (opt->_maxResL1 <= 0.0) opt->_maxResL1 = 0.02; 418 opt->_maxResGIM = settings.value("PPP/maxResGIM").toDouble(); if (opt->_maxResGIM <= 0.0) opt->_maxResGIM = 5.0; 417 419 opt->_eleWgtCode = (settings.value("PPP/eleWgtCode").toInt() != 0); 418 420 opt->_eleWgtPhase = (settings.value("PPP/eleWgtPhase").toInt() != 0);
Note:
See TracChangeset
for help on using the changeset viewer.