Changeset 2341 in ntrip for trunk/BNC/bncpppclient.cpp
- Timestamp:
- Feb 27, 2010, 9:47:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2317 r2341 336 336 t_bias* bb = 0; 337 337 if (_bias.contains(prn)) { 338 bb = _bias.value(prn); 338 bb = _bias.value(prn); 339 339 } 340 340 else { … … 352 352 in >> bType >> bValue; 353 353 if (bType == 0) { 354 bb->p1c1 = -bValue ;354 bb->p1c1 = -bValue * t_CST::c ; // Weber 355 355 } 356 356 else if (bType == 10) { 357 bb->p1p2 = -bValue ;357 bb->p1p2 = -bValue * t_CST::c ; // Weber 358 358 } 359 359 } … … 377 377 ColumnVector& xc, ColumnVector& vv, bool& corr) { 378 378 379 const bool CORR_REQUIRED = true; 379 //const bool CORR_REQUIRED = true; 380 bncSettings settings; 380 381 const double MAXAGE = 120.0; 382 381 383 382 384 corr = false; … … 386 388 ee->position(tt.gpsw(), tt.gpssec(), xc.data(), vv.data()); 387 389 388 if (CORR_REQUIRED) { 390 // if (CORR_REQUIRED) { 391 if (settings.value("pppSPP").toString() == "PPP") { 389 392 if (_corr.contains(prn)) { 390 393 t_corr* cc = _corr.value(prn); … … 414 417 RSW_to_XYZ(xc.Rows(1,3), vv, raoHlp, dx); 415 418 416 xc[0] -= dx[0];417 xc[1] -= dx[1];418 xc[2] -= dx[2];419 xc[3] -= cc->dClk;419 xc[0] -= dx[0]; 420 xc[1] -= dx[1]; 421 xc[2] -= dx[2]; 422 xc[3] -= cc->dClk; 420 423 421 424 // Relativistic Correction
Note:
See TracChangeset
for help on using the changeset viewer.