Changeset 4979 in ntrip


Ignore:
Timestamp:
Mar 10, 2013, 4:36:56 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4932 r4979  
    353353
    354354  double dtRao = tt - cc->tRao;
     355
     356  // Position
     357  // --------
    355358  ColumnVector raoHlp = cc->rao + cc->dotRao * dtRao
    356359                      + 0.5 * cc->dotDotRao * dtRao * dtRao;
     
    366369  xc[2] -= dx[2];
    367370
     371  // Velocity
     372  // --------
     373  ColumnVector dotRaoHlp = cc->dotRao + cc->dotDotRao * dtRao;
     374
     375  ColumnVector dv(3);
     376  RSW_to_XYZ(xc.Rows(1,3), vv, dotRaoHlp, dv);
     377  vv[0] -= dv[0];
     378  vv[1] -= dv[1];
     379  vv[2] -= dv[2];
     380
     381  // Clocks
     382  // ------
    368383  double dtClk = tt - cc->tClk;
    369384
Note: See TracChangeset for help on using the changeset viewer.