Changeset 6075 in ntrip for trunk/BNC/src/PPP_free


Ignore:
Timestamp:
Sep 7, 2014, 11:31:50 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6074 r6075  
    8888void bncPPPclient::processEpoch(const vector<t_satObs*>& satObs, t_output* output) {
    8989  QMutexLocker locker(&_mutex);
    90 
     90 
     91  // Convert and store observations
     92  // ------------------------------
    9193  _epoData->clear();
    92 
    93   output->_numSat = 0;
    94   output->_pDop   = 0.0;
    95   output->_error  = false;
    96   output->_log.clear();
    97 
    9894  for (unsigned ii = 0; ii < satObs.size(); ii++) {
    9995    const t_satObs* obs     = satObs[ii];
     
    147143  // ---------------
    148144  if (_model->update(_epoData) == success) {
    149     output->_error       = false;
    150     output->_epoTime     = _model->time();
    151     output->_xyzRover[0] = _model->x();
    152     output->_xyzRover[1] = _model->y();
    153     output->_xyzRover[2] = _model->z();
     145    output->_error = false;
    154146  }
    155147  else {
     
    157149  }
    158150
    159   output->_log = LOG.str(); 
     151  // Set Output
     152  // ----------
     153  output->_epoTime     = _model->time();
     154  output->_xyzRover[0] = _model->x();
     155  output->_xyzRover[1] = _model->y();
     156  output->_xyzRover[2] = _model->z();
     157  output->_numSat      = 0;
     158  output->_pDop        = 0.0;
     159  output->_log         = LOG.str(); 
    160160}
    161161
Note: See TracChangeset for help on using the changeset viewer.