Changeset 3319 in ntrip for trunk/BNC/bncpppclient.cpp
- Timestamp:
- Jun 27, 2011, 6:18:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2968 r3319 376 376 if (eLast && eLast->IOD() == cc->iod) { 377 377 eLast->position(tt.gpsw(), tt.gpssec(), xc.data(), vv.data()); 378 applyCorr(tt, cc, xc, vv); 379 return success; 378 return applyCorr(tt, cc, xc, vv); 380 379 } 381 380 else if (ePrev && ePrev->IOD() == cc->iod) { 382 381 ePrev->position(tt.gpsw(), tt.gpssec(), xc.data(), vv.data()); 383 applyCorr(tt, cc, xc, vv); 384 return success; 382 return applyCorr(tt, cc, xc, vv); 385 383 } 386 384 } … … 400 398 // 401 399 //////////////////////////////////////////////////////////////////////////// 402 voidbncPPPclient::applyCorr(const bncTime& tt, const t_corr* cc,400 t_irc bncPPPclient::applyCorr(const bncTime& tt, const t_corr* cc, 403 401 ColumnVector& xc, ColumnVector& vv) { 404 402 ColumnVector dx(3); … … 406 404 double dt = tt - cc->tt; 407 405 ColumnVector raoHlp = cc->rao + cc->dotRao * dt + cc->dotDotRao * dt * dt; 406 407 if (raoHlp.norm_Frobenius() > 20.0) { 408 return failure; 409 } 408 410 409 411 RSW_to_XYZ(xc.Rows(1,3), vv, raoHlp, dx); … … 413 415 xc[2] -= dx[2]; 414 416 xc[3] += cc->dClk + cc->dotDClk * dt + cc->dotDotDClk * dt * dt; 417 418 return success; 415 419 } 416 420
Note:
See TracChangeset
for help on using the changeset viewer.