Changeset 11095 in ntrip


Ignore:
Timestamp:
Oct 16, 2026, 2:58:21 PM (13 hours ago)
Author:
stuerze
Message:

updates regarding new RTCMSSR usage in PPP mode

Location:
trunk/BNC/src/PPP
Files:
3 edited

Legend:

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

    r11093 r11095  
    5959  _tides    = new t_tides();
    6060  _antex    = 0;
     61  _ssrFormat = ssrUnknown;
    6162  if (!_opt->_antexFileName.empty()) {
    6263    _antex = new bncAntex(_opt->_antexFileName.c_str());
    … …  
    133134  }
    134135  for (unsigned ii = 0; ii < corr.size(); ii++) {
     136    _ssrFormat = corr[ii]->_ssrFormat;
    135137    _ephPool->putOrbCorrection(new t_orbCorr(*corr[ii]));
    136138  }
  • trunk/BNC/src/PPP/pppClient.h

    r11041 r11095  
    3939  const t_pppObsPool* obsPool() const {return _obsPool;}
    4040  const bncAntex*     antex() const {return _antex;}
     41  e_ssrFormat         ssrFormat() const {return _ssrFormat;}
    4142  const t_pppStation* staRover() const {return _staRover;}
    4243
    … …  
    7273  t_pppStation*             _staRover;
    7374  bncAntex*                 _antex;
     75  e_ssrFormat               _ssrFormat;  // of the latest orbit corrections
    7476  t_pppFilter*              _filter;
    7577  std::vector<t_pppSatObs*> _obsRover;
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r11067 r11095  
    591591  // or lacks a frequency the PPP linear combinations need, the satellite is
    592592  // excluded rather than corrected with ANTEX. Without such a reference,
    593   // the static ANTEX file is used for both observables.
     593  // the static ANTEX file is used for both observables - except for new
     594  // RTCM-SSR: there the orbit refers to a provider-defined point along the
     595  // nadir axis to which all other corrections refer, and orbits, clocks and
     596  // biases (plus the optional satellite antenna model) form a consistent
     597  // set. Without PCV/GDV information no satellite antenna correction at all
     598  // is applied then (the receiver antenna is corrected as usual).
    594599  if (PPP_CLIENT->antex()) {
    595600    const t_metaData*   metaData   = PPP_CLIENT->obsPool()->metaData();
    … …  
    602607    }
    603608    bool useSsr = (refIOD != 0);
     609    bool noSatAnt = (!useSsr && PPP_CLIENT->ssrFormat() == ssrRtcmNew);
    604610    if (useSsr && !ssrSatAntennaTrusted(satAntenna, metaData, refIOD, _time)) {
    605611      LOG << "SSR Satellite Antenna IOD " << refIOD << " referenced by Metadata not available for "
    … …  
    671677        }
    672678      }
    673       else {
     679      else if (!noSatAnt) {
    674680        _model._antPCO[ii] += PPP_CLIENT->antex()->satCorr(prn, frqType, _model._elTx, _model._azTx, found, _time);
    675681        if (!found && !PPP_CLIENT->antex()->hasSatEntry(prn, _time) &&
Note: See TracChangeset for help on using the changeset viewer.