Changeset 6653 in ntrip for trunk/BNC/src/PPP


Ignore:
Timestamp:
Mar 12, 2015, 1:26:34 PM (9 years ago)
Author:
stuerze
Message:

sinex tro file support added,
troposphere results in overall ppp logfile added

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

Legend:

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

    r6463 r6653  
    336336    copy(&_filter->Q().data()[0], &_filter->Q().data()[6], _output->_covMatrix);
    337337
     338    _output->_trp0     = t_tropo::delay_saast(_staRover->xyzApr(), M_PI/2.0);
     339    _output->_trp      = _filter->trp();
     340    _output->_trpStdev = _filter->trpStdev();
     341
    338342    _output->_numSat     = _filter->numSat();
    339343    _output->_pDop       = _filter->PDOP();
  • trunk/BNC/src/PPP/pppFilter.h

    r6011 r6653  
    2828  double PDOP() const {return _dop.P;}
    2929  double GDOP() const {return _dop.G;}
     30  double trp() const {
     31    const std::vector<t_pppParam*>& par = _parlist->params();
     32    for (unsigned ii = 0; ii < par.size(); ++ii) {
     33      if (par[ii]->type() == t_pppParam::trp) {
     34        return x()[ii];
     35      }
     36    }
     37    return 0.0;
     38  };
     39  double trpStdev() const {
     40    const std::vector<t_pppParam*>& par = _parlist->params();
     41    for (unsigned ii = 0; ii < par.size(); ++ii) {
     42      if (par[ii]->type() == t_pppParam::trp) {
     43        return sqrt(Q()[ii][ii]);
     44      }
     45    }
     46    return 0.0;
     47  };
    3048
    3149 private:
     
    5068    double G;
    5169  };
     70
    5271  t_irc processSystem(const std::vector<t_lc::type>& LCs,
    5372                      const std::vector<t_pppSatObs*>& obsVector);
     
    6079
    6180  void cmpDOP(const std::vector<t_pppSatObs*>& obsVector);
     81
     82  void getTrp(void);
    6283
    6384  void predictCovCrdPart(const SymmetricMatrix& QFltOld);
Note: See TracChangeset for help on using the changeset viewer.