Changeset 9866 in ntrip for trunk/BNC/src/PPP/pppSatObs.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/PPP/pppSatObs.cpp

    r9821 r9866  
    4646  _stecRefSat = 0.0;
    4747  _stecSat    = 0.0;
     48  _signalPriorities = QString::fromStdString(OPT->_signalPriorities);
     49  if (!_signalPriorities.size()) {
     50    if (OPT->_obsModelType == OPT->DCMcodeBias ||
     51        OPT->_obsModelType == OPT->DCMphaseBias) {
     52      // at the moment only one code or phase bias per system (G,R,E,C)/modulation considered
     53      _signalPriorities = "G:12&CW R:12&CP E:1&CX E:5&QX C:26&I";
     54    }
     55    else {
     56      _signalPriorities = "G:12&CWPSLX R:12&CP E:1&CBX E:5&QIX C:26&IQX";
     57    }
     58  }
     59
    4860  for (unsigned ii = 0; ii < t_frequency::max; ii++) {
    4961    _obs[ii] = 0;
     
    6880  // Select pseudo-ranges and phase observations
    6981  // -------------------------------------------
    70 
    71   QString preferredAttribList = "G:12&CWPSLX R:12&CP E:1&CBX E:5&QIX C:26&IQX";
    72   if (OPT->_obsModelType == OPT->DCMcodeBias ||
    73       OPT->_obsModelType == OPT->DCMphaseBias) {
    74     // at the moment only one code or phase bias per system (G,R,E,C)/modulation considered
    75     preferredAttribList = "G:12&CW R:12&CP E:1&CX E:5&QX C:26&I";
    76   }
    77   QStringList priorList = preferredAttribList.split(" ", QString::SkipEmptyParts);
     82  QStringList priorList = _signalPriorities.split(" ", QString::SkipEmptyParts);
    7883  string preferredAttrib;
    7984  char obsSys = pppSatObs._prn.system();  //cout << "SATELLITE: " << pppSatObs._prn.toString() << endl;
Note: See TracChangeset for help on using the changeset viewer.