Changeset 2414 in ntrip


Ignore:
Timestamp:
Apr 13, 2010, 9:42:16 AM (7 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.cpp

    r2408 r2414  
    440440  RSW_to_XYZ(xc.Rows(1,3), vv, raoHlp, dx);
    441441
    442   xc[0] += dx[0];
    443   xc[1] += dx[1];
    444   xc[2] += dx[2];
    445   xc[3] += cc->dClk + cc->dotDClk * dt + cc->dotDotDClk * dt * dt;
     442  xc[0] -= dx[0];
     443  xc[1] -= dx[1];
     444  xc[2] -= dx[2];
     445  xc[3] -= cc->dClk + cc->dotDClk * dt + cc->dotDotDClk * dt * dt;
    446446}
    447447
  • trunk/BNS/bns.cpp

    r2408 r2414  
    599599    if (ii == 1) {
    600600      XYZ_to_RSW(xB.Rows(1,3), vv, dx, rsw);
    601       dClk = (xx(4) + xx(5) - xB(4)) * 299792458.0;
     601      dClk = (xB(4) - xx(4) - xx(5)) * 299792458.0;
    602602    }
    603603    else {
Note: See TracChangeset for help on using the changeset viewer.