Changeset 5839 in ntrip for trunk/BNC/src/ephemeris.cpp
- Timestamp:
- Aug 6, 2014, 3:59:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/ephemeris.cpp
r5815 r5839 12 12 #include "bnctime.h" 13 13 #include "bnccore.h" 14 #include "bncutils.h" 14 15 #include "PPP/pppInclude.h" 15 16 … … 63 64 position(tt.gpsw(), tt.gpssec(), xc.data(), vv.data()); 64 65 if (useCorr) { 65 throw "t_eph::getCrd: not yet implemented"; 66 if (_orbCorr && _clkCorr) { 67 ColumnVector xr = _orbCorr->getX(tt); 68 ColumnVector dx(3); 69 if (_orbCorr->_system == 'R') { 70 RSW_to_XYZ(xc.Rows(1,3), vv.Rows(1,3), xr, dx); 71 } 72 else { 73 dx = xr; 74 } 75 xc[0] -= dx[0]; 76 xc[1] -= dx[1]; 77 xc[2] -= dx[2]; 78 xc[3] += _clkCorr->getClk(tt); 79 } 80 else { 81 return failure; 82 } 66 83 } 67 84 return success;
Note:
See TracChangeset
for help on using the changeset viewer.