Changeset 10259 in ntrip for trunk/BNC/src
- Timestamp:
- Nov 27, 2023, 3:58:48 PM (14 months ago)
- Location:
- trunk/BNC/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r10256 r10259 49 49 ////////////////////////////////////////////////////////////////////////////// 50 50 t_pppClient::t_pppClient(const t_pppOptions* opt) { 51 _running = true; 51 52 _output = 0; 52 53 _opt = new t_pppOptions(*opt); … … 75 76 ////////////////////////////////////////////////////////////////////////////// 76 77 t_pppClient::~t_pppClient() { 78 _running = false; 77 79 delete _log; 78 80 delete _opt; … … 279 281 } 280 282 281 while ( true) {283 while (_running) { 282 284 Matrix BB(numBancroft, 4); 283 285 int iObs = -1; … … 319 321 // Check Blunders 320 322 // -------------- 321 const double BLUNDER = 200.0;323 const double BLUNDER = 100.0; 322 324 double maxRes = 0.0; 323 325 unsigned maxResIndex = 0; … … 402 404 offGlo = 0.0; 403 405 } 404 if (fabs(maxRes) > OPT->_aprSigClkOff) {405 LOG << "t_pppClient::cmpOffG Routlier " << maxResPrn.toString() << " " << maxRes << endl;406 if (fabs(maxRes) > 100.0) { 407 LOG << "t_pppClient::cmpOffGlo outlier " << maxResPrn.toString() << " " << maxRes << endl; 406 408 delete obsVector.at(maxResIndex); 407 409 obsVector.erase(obsVector.begin() + maxResIndex); … … 455 457 } 456 458 457 if (fabs(maxRes) > OPT->_aprSigClkOff) {458 LOG << "t_pppClient::cmpOffG Eoutlier " << maxResPrn.toString() << " " << maxRes << endl;459 if (fabs(maxRes) > 100.0) { 460 LOG << "t_pppClient::cmpOffGal outlier " << maxResPrn.toString() << " " << maxRes << endl; 459 461 delete obsVector.at(maxResIndex); 460 462 obsVector.erase(obsVector.begin() + maxResIndex); … … 509 511 } 510 512 511 if (fabs(maxRes) > OPT->_aprSigClkOff) {512 LOG << "t_pppClient::cmpOff GCoutlier " << maxResPrn.toString() << " " << maxRes << endl;513 if (fabs(maxRes) > 100.0) { 514 LOG << "t_pppClient::cmpOffBDS outlier " << maxResPrn.toString() << " " << maxRes << endl; 513 515 delete obsVector.at(maxResIndex); 514 516 obsVector.erase(obsVector.begin() + maxResIndex); -
trunk/BNC/src/PPP/pppClient.h
r10256 r10259 39 39 double offGal() const {return _offGal;} 40 40 double offBds() const {return _offBds;} 41 void resetOffGlo() {_offGlo = 0.0;} 42 void resetOffGal() {_offGal = 0.0;} 43 void resetOffBds() {_offBds = 0.0;} 41 44 42 45 std::ostringstream& log() {return *_log;} … … 81 84 bool _pseudoObsIono; 82 85 QMap<char, int> _usedSystems; 86 bool _running; 83 87 }; 84 88 -
trunk/BNC/src/PPP/pppFilter.cpp
r10257 r10259 372 372 } 373 373 374 // Check Pre-Fit Residuals => switched off, because after a millisecond receiver clock jump, a cycle slip is detected for all satellites 374 // Check Pre-Fit Residuals 375 //=> switched off, because after a millisecond receiver clock jump, a cycle slip is detected for all satellites 375 376 /* ----------------------- 376 377 -
trunk/BNC/src/PPP/pppParlist.cpp
r10256 r10259 497 497 // GLONASS Clock Offset 498 498 // -------------------- 499 if (OPT->useSystem('R')) { 499 if ( _usedSystems.contains('R') && 500 (_usedSystems.contains('G') || _usedSystems.contains('E') || _usedSystems.contains('C'))) { 500 501 required.push_back(new t_pppParam(t_pppParam::offGlo, t_prn(), t_lc::dummy)); 502 } 503 else { 504 PPP_CLIENT->resetOffGlo(); 501 505 } 502 506 503 507 // Galileo Clock Offset 504 508 // -------------------- 505 if ( OPT->useSystem('E')) {509 if (_usedSystems.contains('E') && _usedSystems.contains('G')) { 506 510 required.push_back(new t_pppParam(t_pppParam::offGal, t_prn(), t_lc::dummy)); 511 } 512 else { 513 PPP_CLIENT->resetOffGal(); 507 514 } 508 515 509 516 // BDS Clock Offset 510 517 // ---------------- 511 if ( OPT->useSystem('C')) {518 if (_usedSystems.contains('C') && (_usedSystems.contains('G') || _usedSystems.contains('E'))) { 512 519 required.push_back(new t_pppParam(t_pppParam::offBds, t_prn(), t_lc::dummy)); 520 } 521 else { 522 PPP_CLIENT->resetOffBds(); 513 523 } 514 524 -
trunk/BNC/src/pppMain.cpp
r10257 r10259 528 528 opt->_aprSigAmb = 10000.0; 529 529 opt->_aprSigClk = 300000.0; 530 opt->_aprSigClkOff = 1000 00.0;530 opt->_aprSigClkOff = 1000.0; 531 531 opt->_aprSigIon = 1000.0; 532 532 opt->_noiseIon = 100.0;
Note:
See TracChangeset
for help on using the changeset viewer.