Changeset 2240 in ntrip for trunk/BNC/bncpppclient.cpp
- Timestamp:
- Jan 12, 2010, 3:17:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2238 r2240 183 183 if (obs->satSys == 'G') { 184 184 QString prn = QString("G%1").arg(obs->satNum, 2, 10, QChar('0')); 185 satData->prn = prn; 185 186 _epoData->satDataGPS[prn] = satData; 186 187 } 187 188 else if (obs->satSys == 'R') { 188 189 QString prn = QString("R%1").arg(obs->satNum, 2, 10, QChar('0')); 190 satData->prn = prn; 189 191 _epoData->satDataGlo[prn] = satData; 190 192 } … … 321 323 ColumnVector& xc, ColumnVector& vv, bool& corr) { 322 324 323 const bool CORR_REQUIRED = true;325 const bool CORR_REQUIRED = false; 324 326 const double MAXAGE = 120.0; 325 327 … … 367 369 // Correct Time of Transmission 368 370 //////////////////////////////////////////////////////////////////////////// 369 t_irc bncPPPclient::cmpToT( const QString& prn,t_satData* satData) {371 t_irc bncPPPclient::cmpToT(t_satData* satData) { 370 372 371 373 double prange = satData->P3; … … 382 384 ColumnVector vv(3); 383 385 bool corr = false; 384 if (getSatPos(ToT, prn, xc, vv, corr) != success) {386 if (getSatPos(ToT, satData->prn, xc, vv, corr) != success) { 385 387 return failure; 386 388 } … … 413 415 t_satData* satData = iGPS.value(); 414 416 415 if (cmpToT( prn,satData) != success) {417 if (cmpToT(satData) != success) { 416 418 delete satData; 417 419 iGPS.remove(); … … 426 428 t_satData* satData = iGlo.value(); 427 429 428 if (cmpToT( prn,satData) != success) {430 if (cmpToT(satData) != success) { 429 431 delete satData; 430 432 iGlo.remove();
Note:
See TracChangeset
for help on using the changeset viewer.