Changeset 2408 in ntrip
- Timestamp:
- Apr 9, 2010, 11:25:40 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2367 r2408 440 440 RSW_to_XYZ(xc.Rows(1,3), vv, raoHlp, dx); 441 441 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; 446 447 // Relativistic Correction 448 // ----------------------- 449 xc[3] -= 2.0 * DotProduct(xc.Rows(1,3),vv) / t_CST::c / t_CST::c ; 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; 450 446 } 451 447 -
trunk/BNS/bns.cpp
r2369 r2408 595 595 } 596 596 597 ColumnVector dx = x B.Rows(1,3) - xyz;597 ColumnVector dx = xyz - xB.Rows(1,3); 598 598 599 599 if (ii == 1) { 600 600 XYZ_to_RSW(xB.Rows(1,3), vv, dx, rsw); 601 dClk = (x B(4) - xx(4)) * 299792458.0;601 dClk = (xx(4) + xx(5) - xB(4)) * 299792458.0; 602 602 } 603 603 else {
Note:
See TracChangeset
for help on using the changeset viewer.