Changeset 3319 in ntrip
- Timestamp:
- Jun 27, 2011, 6:18:10 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r3317 r3319 1229 1229 ll(iObs) = satData->L3 - cmpValue(satData, true); 1230 1230 PP(iObs,iObs) = 1.0 / (_sigL3 * _sigL3) / (ellWgtCoef * ellWgtCoef); 1231 if (satData->system() == 'R') { 1232 PP(iObs,iObs) /= 4.0; 1233 } 1231 1234 for (int iPar = 1; iPar <= _params.size(); iPar++) { 1232 1235 if (_params[iPar-1]->type == bncParam::AMB_L3 && -
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 -
trunk/BNC/bncpppclient.h
r3051 r3319 113 113 ~bncPPPclient(); 114 114 void putNewObs(const t_obs& pp); 115 static voidapplyCorr(const bncTime& tt, const t_corr* cc, ColumnVector& xc,116 ColumnVector& vv);115 static t_irc applyCorr(const bncTime& tt, const t_corr* cc, ColumnVector& xc, 116 ColumnVector& vv); 117 117 118 118 public slots:
Note:
See TracChangeset
for help on using the changeset viewer.