Changeset 3051 in ntrip


Ignore:
Timestamp:
Feb 25, 2011, 3:50:44 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.h

    r2967 r3051  
    113113  ~bncPPPclient();
    114114  void putNewObs(const t_obs& pp);
     115  static void applyCorr(const bncTime& tt, const t_corr* cc, ColumnVector& xc,
     116                        ColumnVector& vv);
    115117
    116118 public slots:
     
    140142  void processEpochs();
    141143  void processFrontEpoch();
    142   void applyCorr(const bncTime& tt, const t_corr* cc, ColumnVector& xc,
    143                  ColumnVector& vv);
    144144  t_irc cmpToT(t_satData* satData);
    145145
  • trunk/BNC/combination/bnccomb.cpp

    r3050 r3051  
    363363      ColumnVector xc(4);
    364364      ColumnVector vv(3);
    365       corr->eph->position(corr->tt.gpsw(), corr->tt.gpssec(),
     365      corr->eph->position(resTime.gpsw(), resTime.gpssec(),
    366366                          xc.data(), vv.data());
    367       xc(4) -= 2.0 * DotProduct(xc.Rows(1,3),vv) / t_CST::c / t_CST::c;
     367      bncPPPclient::applyCorr(resTime, corr, xc, vv);
     368      xc(4) += 2.0 * DotProduct(xc.Rows(1,3),vv) / t_CST::c / t_CST::c;
    368369      _sp3->write(resTime.gpsw(), resTime.gpssec(), corr->prn, xc, _append);
    369370    }
Note: See TracChangeset for help on using the changeset viewer.