Changeset 2367 in ntrip


Ignore:
Timestamp:
Mar 11, 2010, 12:35:33 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.cpp

    r2366 r2367  
    435435  ColumnVector dx(3);
    436436
    437   ColumnVector raoHlp = cc->rao + cc->dotRao * (tt - cc->tt);
     437  double dt = tt - cc->tt;
     438  ColumnVector raoHlp = cc->rao + cc->dotRao * dt + cc->dotDotRao * dt * dt;
    438439
    439440  RSW_to_XYZ(xc.Rows(1,3), vv, raoHlp, dx);
    440441
    441     xc[0] -= dx[0];
    442     xc[1] -= dx[1];
    443     xc[2] -= dx[2];
    444     xc[3] -= cc->dClk;
     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;
    445446
    446447  // Relativistic Correction
Note: See TracChangeset for help on using the changeset viewer.