Changeset 2341 in ntrip for trunk/BNC/bncpppclient.cpp


Ignore:
Timestamp:
Feb 27, 2010, 9:47:33 PM (14 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.cpp

    r2317 r2341  
    336336      t_bias* bb = 0;
    337337      if (_bias.contains(prn)) {
    338         bb = _bias.value(prn); 
     338        bb = _bias.value(prn);
    339339      }
    340340      else {
     
    352352        in >> bType >> bValue;
    353353        if      (bType ==  0) {
    354           bb->p1c1 = -bValue;
     354          bb->p1c1 = -bValue * t_CST::c ; // Weber
    355355        }
    356356        else if (bType == 10) {
    357           bb->p1p2 = -bValue;
     357          bb->p1p2 = -bValue * t_CST::c ; // Weber
    358358        }
    359359      }
     
    377377                              ColumnVector& xc, ColumnVector& vv, bool& corr) {
    378378
    379   const bool   CORR_REQUIRED = true;
     379//const bool   CORR_REQUIRED = true;
     380  bncSettings settings;
    380381  const double MAXAGE        = 120.0;
     382
    381383
    382384  corr = false;
     
    386388    ee->position(tt.gpsw(), tt.gpssec(), xc.data(), vv.data());
    387389
    388     if (CORR_REQUIRED) {
     390//  if (CORR_REQUIRED) {
     391    if (settings.value("pppSPP").toString() == "PPP") {
    389392      if (_corr.contains(prn)) {
    390393        t_corr* cc = _corr.value(prn);
     
    414417  RSW_to_XYZ(xc.Rows(1,3), vv, raoHlp, dx);
    415418
    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;
    420423
    421424  // Relativistic Correction
Note: See TracChangeset for help on using the changeset viewer.