Changeset 2275 in ntrip


Ignore:
Timestamp:
Jan 21, 2010, 1:37:10 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.cpp

    r2274 r2275  
    135135  }
    136136
    137   ////// beg test
    138   //cout << satData->prn.toAscii().data();
    139   //if (bb) {
    140   //  cout.setf(ios::fixed);
    141   //  cout << setprecision(3) << bb->c1 << " "
    142   //       << setprecision(3) << bb->p1 << " "
    143   //       << setprecision(3) << bb->c2 << " "
    144   //       << setprecision(3) << bb->p2 << endl;
    145   //}
    146   //else {
    147   //  cout << " no bias\n";
    148   //}
    149   //// end test
    150 
    151137  // Set Code Observations
    152138  // --------------------- 
    153139  if      (obs->P1) {
    154     satData->P1         = obs->P1;
     140    satData->P1         = obs->P1 + (bb ? bb->p1 : 0.0);
    155141    satData->codeTypeF1 = t_satData::P_CODE;
    156142  }
    157143  else if (obs->C1) {
    158     satData->P1         = obs->C1;
     144    satData->P1         = obs->C1 + (bb ? bb->c1 : 0.0);
    159145    satData->codeTypeF1 = t_satData::C_CODE;
    160146  }
     
    165151   
    166152  if      (obs->P2) {
    167     satData->P2         = obs->P2;
     153    satData->P2         = obs->P2 + (bb ? bb->p2 : 0.0);
    168154    satData->codeTypeF2 = t_satData::P_CODE;
    169155  }
    170156  else if (obs->C2) {
    171     satData->P2         = obs->C2;
     157    satData->P2         = obs->C2 + (bb ? bb->c2 : 0.0);
    172158    satData->codeTypeF2 = t_satData::C_CODE;
    173159  }
Note: See TracChangeset for help on using the changeset viewer.