Changeset 6141 in ntrip for trunk/BNC/src/PPP/pppEphPool.cpp


Ignore:
Timestamp:
Sep 13, 2014, 5:08:22 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6107 r6141  
    8181/////////////////////////////////////////////////////////////////////////////
    8282void t_pppEphPool::t_satEphPool::putOrbCorrection(t_orbCorr* corr) {
     83  cout << "ORB: " << corr->_prn.toString() << ' ' << corr->IOD() << endl;
    8384  for (unsigned ii = 0; ii < _ephs.size(); ii++) {
    8485    t_eph* eph = _ephs[ii];
     
    8889    }
    8990  }
     91  cout << "wrong" << endl;
    9092  delete corr;
    9193}
     
    9496/////////////////////////////////////////////////////////////////////////////
    9597void t_pppEphPool::t_satEphPool::putClkCorrection(t_clkCorr* corr) {
     98  cout << "CLK: " << corr->_prn.toString() << ' ' << corr->IOD() << ' ' << corr->_dClk << endl;
     99  bool set = false;
    96100  for (unsigned ii = 0; ii < _ephs.size(); ii++) {
    97101    t_eph* eph = _ephs[ii];
    98102    if (eph->IOD() == corr->IOD()) {
    99103      eph->setClkCorr(corr);
     104      set = true;
    100105    }
     106  }
     107  if (!set) {
     108    cout << "wrong" << endl;
    101109  }
    102110  delete corr;
     
    107115t_irc t_pppEphPool::t_satEphPool::getCrd(const bncTime& tt, ColumnVector& xc,
    108116                                           ColumnVector& vv) const {
     117  cout << "getCrd " << endl;
    109118  for (unsigned ii = 0; ii < _ephs.size(); ii++) {
    110119    t_eph* eph = _ephs[ii];
    111120    t_irc irc = eph->getCrd(tt, xc, vv, OPT->useOrbClkCorr());
     121    cout << "getCrd " << eph->prn().toString() << ' ' << irc << endl;
    112122    if (irc == success) {
    113123      if (eph->prn().system() == 'R') {
Note: See TracChangeset for help on using the changeset viewer.