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


Ignore:
Timestamp:
Jul 21, 2020, 10:02:56 AM (4 years ago)
Author:
stuerze
Message:

minor changes in PPP

File:
1 edited

Legend:

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

    r8961 r8993  
    7878             offGG = PPP_CLIENT->offGG();
    7979           }
    80            _x0 = floor((obs->obsValue(tLC) - offGG - obs->cmpValue(tLC)) / obs->lambda(tLC) + 0.5);
     80           double offGB = 0;
     81           if (_prn.system() == 'C' && tLC != t_lc::MW) {
     82             offGB = PPP_CLIENT->offGB();
     83           }
     84           _x0 = floor((obs->obsValue(tLC) - offGG - offGB - obs->cmpValue(tLC)) / obs->lambda(tLC) + 0.5);
    8185           break;
    8286         }
     
    8892     _sigma0  = 1000.0;
    8993     _x0      = PPP_CLIENT->offGG();
     94     break;
     95   case offGB:
     96     _epoSpec = true;
     97     _sigma0  = 1000.0;
     98     _x0      = PPP_CLIENT->offGB();
    9099     break;
    91100   case trp:
     
    155164    if (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
    156165    return (obs->prn().system() == 'R') ? 1.0 : 0.0;
     166  case offGB:
     167    if (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
     168    return (obs->prn().system() == 'C') ? 1.0 : 0.0;
    157169  case amb:
    158170    if      (tLC == t_lc::GIM || tLC == t_lc::Tz0) {return 0.0;}
     
    267279    ss << "OGG        ";
    268280    break;
     281  case offGB:
     282    ss << "OGB        ";
     283    break;
    269284  case trp:
    270285    ss << "TRP        ";
     
    388403    required.push_back(new t_pppParam(t_pppParam::offGG, t_prn(), t_lc::dummy));
    389404  }
     405
     406  // GPS-BDS Clock Offset
     407  // ------------------------
     408  if (OPT->useSystem('C')) {
     409    required.push_back(new t_pppParam(t_pppParam::offGB, t_prn(), t_lc::dummy));
     410  }
     411
    390412
    391413  // Troposphere
Note: See TracChangeset for help on using the changeset viewer.