Changeset 2068 in ntrip
- Timestamp:
- Dec 1, 2009, 3:15:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2067 r2068 224 224 ee->position(tt.gpsw(), tt.gpssec(), xc.data(), vv.data()); 225 225 226 if (_corr.contains(prn)) { 227 t_corr* cc = _corr.value(prn); 228 if (ee->IOD() == cc->iod && (tt - cc->tt) < MAXAGE) { 229 corr = true; 230 applyCorr(cc, xc, vv); 226 if (CORR_REQUIRED) { 227 if (_corr.contains(prn)) { 228 t_corr* cc = _corr.value(prn); 229 if (ee->IOD() == cc->iod && (tt - cc->tt) < MAXAGE) { 230 corr = true; 231 applyCorr(cc, xc, vv); 232 return success; 233 } 231 234 } 232 } 233 else { 234 if (CORR_REQUIRED) { 235 return failure; 236 } 237 } 238 235 return failure; 236 } 237 239 238 return success; 240 239 } … … 254 253 xc[2] += dx[2]; 255 254 xc[3] += cc->dClk; 255 256 // Relativistic Correction 257 // ----------------------- 258 xc[3] -= 2.0 * DotProduct(xc.Rows(1,3),vv) / t_CST::c / t_CST::c ; 256 259 } 257 260
Note:
See TracChangeset
for help on using the changeset viewer.