Changeset 9288 in ntrip for trunk/BNC/src/PPP/pppParlist.cpp


Ignore:
Timestamp:
Nov 27, 2020, 10:38:03 AM (3 years ago)
Author:
stuerze
Message:

updates regarding inter system biases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppParlist.cpp

    r8993 r9288  
    7474         const t_pppSatObs* obs = obsVector->at(ii);
    7575         if (obs->prn() == _prn) {
    76            double offGG = 0;
     76           double offGR = 0;
    7777           if (_prn.system() == 'R' && tLC != t_lc::MW) {
    78              offGG = PPP_CLIENT->offGG();
     78             offGR = PPP_CLIENT->offGR();
    7979           }
    80            double offGB = 0;
     80           double offGE = 0;
     81           if (_prn.system() == 'E' && tLC != t_lc::MW) {
     82             offGE = PPP_CLIENT->offGE();
     83           }
     84           double offGC = 0;
    8185           if (_prn.system() == 'C' && tLC != t_lc::MW) {
    82              offGB = PPP_CLIENT->offGB();
     86             offGC = PPP_CLIENT->offGC();
    8387           }
    84            _x0 = floor((obs->obsValue(tLC) - offGG - offGB - obs->cmpValue(tLC)) / obs->lambda(tLC) + 0.5);
     88           _x0 = floor((obs->obsValue(tLC) - offGR -offGE - offGC - obs->cmpValue(tLC)) / obs->lambda(tLC) + 0.5);
    8589           break;
    8690         }
     
    8892     }
    8993     break;
    90    case offGG:
     94   case offGR:
    9195     _epoSpec = true;
    9296     _sigma0  = 1000.0;
    93      _x0      = PPP_CLIENT->offGG();
    94      break;
    95    case offGB:
     97     _x0      = PPP_CLIENT->offGR();
     98     break;
     99   case offGE:
    96100     _epoSpec = true;
    97101     _sigma0  = 1000.0;
    98      _x0      = PPP_CLIENT->offGB();
     102     _x0      = PPP_CLIENT->offGE();
     103     break;
     104   case offGC:
     105     _epoSpec = true;
     106     _sigma0  = 1000.0;
     107     _x0      = PPP_CLIENT->offGC();
    99108     break;
    100109   case trp:
     
    161170    if (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
    162171    return 1.0;
    163   case offGG:
     172  case offGR:
    164173    if (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
    165174    return (obs->prn().system() == 'R') ? 1.0 : 0.0;
    166   case offGB:
     175  case offGE:
     176    if (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
     177    return (obs->prn().system() == 'E') ? 1.0 : 0.0;
     178  case offGC:
    167179    if (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
    168180    return (obs->prn().system() == 'C') ? 1.0 : 0.0;
     
    276288    ss << "REC_CLK    ";
    277289    break;
    278   case offGG:
     290  case offGR:
    279291    ss << "OGG        ";
    280292    break;
    281   case offGB:
     293  case offGE:
     294    ss << "OGE        ";
     295    break;
     296  case offGC:
    282297    ss << "OGB        ";
    283298    break;
     
    401416  // ------------------------
    402417  if (OPT->useSystem('R')) {
    403     required.push_back(new t_pppParam(t_pppParam::offGG, t_prn(), t_lc::dummy));
     418    required.push_back(new t_pppParam(t_pppParam::offGR, t_prn(), t_lc::dummy));
     419  }
     420
     421  // GPS-Galileo Clock Offset
     422  // ------------------------
     423  if (OPT->useSystem('E')) {
     424    required.push_back(new t_pppParam(t_pppParam::offGE, t_prn(), t_lc::dummy));
    404425  }
    405426
     
    407428  // ------------------------
    408429  if (OPT->useSystem('C')) {
    409     required.push_back(new t_pppParam(t_pppParam::offGB, t_prn(), t_lc::dummy));
    410   }
    411 
     430    required.push_back(new t_pppParam(t_pppParam::offGC, t_prn(), t_lc::dummy));
     431  }
    412432
    413433  // Troposphere
Note: See TracChangeset for help on using the changeset viewer.