Changeset 9866 in ntrip for trunk/BNC/src/pppMain.cpp


Ignore:
Timestamp:
Oct 31, 2022, 9:49:58 PM (18 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppMain.cpp

    r9783 r9866  
    149149    t_pppOptions* opt = new t_pppOptions();
    150150
    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
    163165    if (_realTime) {
    164166      opt->_corrMount.assign(settings.value("PPP/corrMount").toString().toStdString());
     
    181183#endif
    182184    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.01;
     185    opt->_sigmaL1      = settings.value("PPP/sigmaL1").toDouble(); if (opt->_sigmaL1 <= 0.0)  opt->_sigmaL1  = 0.02;
    184186    opt->_sigmaGIM     = settings.value("PPP/sigmaGIM").toDouble();if (opt->_sigmaGIM <= 0.0) opt->_sigmaGIM = 5.00;
    185187    opt->_corrWaitTime = settings.value("PPP/corrWaitTime").toDouble();
     
    412414    opt->_minObs      = settings.value("PPP/minObs").toInt(); if (opt->_minObs < 4) opt->_minObs = 4;
    413415    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.03;
    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;
    417419    opt->_eleWgtCode  = (settings.value("PPP/eleWgtCode").toInt() != 0);
    418420    opt->_eleWgtPhase = (settings.value("PPP/eleWgtPhase").toInt() != 0);
Note: See TracChangeset for help on using the changeset viewer.