Changeset 6112 in ntrip


Ignore:
Timestamp:
Sep 8, 2014, 4:32:01 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/PPP_free
Files:
3 edited

Legend:

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

    r6110 r6112  
    139139    output->_xyzRover[1] = _filter->y();
    140140    output->_xyzRover[2] = _filter->z();
    141     // copy(&_filter->Q().data()[0], &_filter->Q().data()[6], _output->_covMatrix);
     141    copy(&_filter->Q().data()[0], &_filter->Q().data()[6], output->_covMatrix);
    142142    output->_neu[0]      = 0.0;
    143143    output->_neu[1]      = 0.0;
  • trunk/BNC/src/PPP_free/pppFilter.cpp

    r6111 r6112  
    172172  // ---------------------------------------------
    173173  _epoData_sav = new t_epoData();
     174
     175  // Some statistics
     176  // ---------------
     177  _neu.ReSize(3); _neu = 0.0;
     178  _numSat = 0;
     179  _pDop   = 0.0;
    174180}
    175181
     
    624630  LOG << endl << endl;
    625631
     632  // Compute dilution of precision
     633  // -----------------------------
     634  cmpDOP(epoData);
     635
    626636  // Final Message (both log file and screen)
    627637  // ----------------------------------------
     
    645655    double ellRef[3];
    646656    xyz2ell(OPT->_xyzAprRover.data(), ellRef);
    647     double neu[3];
    648     xyz2neu(ellRef, xyz, neu);
     657    xyz2neu(ellRef, xyz, _neu.data());
    649658
    650659    LOG << "  NEU "
    651         << setw(8) << setprecision(3) << neu[0] << " "
    652         << setw(8) << setprecision(3) << neu[1] << " "
    653         << setw(8) << setprecision(3) << neu[2] << endl << endl;
     660        << setw(8) << setprecision(3) << _neu[0] << " "
     661        << setw(8) << setprecision(3) << _neu[1] << " "
     662        << setw(8) << setprecision(3) << _neu[2] << endl << endl;
    654663  }
    655664  else {
  • trunk/BNC/src/PPP_free/pppFilter.h

    r6111 r6112  
    148148  t_irc update(t_epoData* epoData);
    149149  bncTime time()  const {return _time;}
     150  const SymmetricMatrix& Q() const {return _QQ;}
     151  const ColumnVector& neu() const {return _neu;}
     152  int    numSat() const {return _numSat;}
     153  double PDOP()   const {return _pDop;}
    150154  double x()      const {return _params[0]->xx;}
    151155  double y()      const {return _params[1]->xx;}
     
    235239  bncAntex*             _antex;
    236240  t_tides*              _tides;
     241  ColumnVector          _neu;
    237242  int                   _numSat;
    238243  double                _pDop;
Note: See TracChangeset for help on using the changeset viewer.