Changeset 9419 in ntrip for trunk/BNC/src/PPP/pppClient.cpp
- Timestamp:
- May 3, 2021, 2:18:39 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppClient.cpp
r9398 r9419 73 73 } 74 74 } 75 75 76 _offGR = 0.0; 76 77 _offGE = 0.0; … … 596 597 bool epochReProcessing = false; 597 598 _numEpoProcessing = 0; 599 _historicalRefSats.clear(); 600 598 601 do { 599 602 _numEpoProcessing++; 603 #ifdef BNC_DEBUG_PPP 604 LOG << "_numEpoProcessing " << _numEpoProcessing << endl; 605 #endif 600 606 if (_obsPool->refSatChanged()) { 601 607 if(_filter->datumTransformation() != success) { 608 LOG << "_filter->datumTransformation() != success" << endl; 602 609 return finish(failure); 603 610 } 604 611 else { 612 LOG << "_filter->datumTransformation() == success" << endl; 605 613 _obsPool->saveLastEpoRefSats(); 606 614 } … … 631 639 if (_opt->_refSatRequired) { 632 640 if (handleRefSatellites(_obsRover) != success) { 633 _historicalRefSats.clear();634 641 return finish(failure); 635 642 } 636 643 if (_obsPool->refSatChanged() && 637 _opt->_obsModelType != t_pppOptions::UncombPPP) { 644 (_opt->_obsModelType == OPT->DCMcodeBias || 645 _opt->_obsModelType == OPT->DCMphaseBias || 646 _opt->_pseudoObsIono)) { 647 LOG << "refSatChanged()" << endl; 638 648 epochReProcessing = true; 639 649 continue; … … 674 684 else { 675 685 epochReProcessing = false; 676 _historicalRefSats.clear();677 686 } 678 687 } while (epochReProcessing); … … 795 804 refSatDefined = true; 796 805 obsVector[ii]->setAsReference(); 797 #ifdef BNC_DEBUG_PPP798 LOG << "=> unchanged refsatprn: " << satObs->prn().toString() << endl;799 #endif800 806 } 801 807 // reference satellite has changed … … 807 813 obsVector[ii]->setAsReference(); 808 814 refSat->setPrn(satObs->prn()); 809 #ifdef BNC_DEBUG_PPP810 LOG << "=> set refsatprn: " << satObs->prn().toString() << endl;811 #endif812 815 } 813 816 else if ( _historicalRefSats[sys].contains(satObs->prn())) { … … 841 844 obsVector[ii]->setAsReference(); 842 845 refSat->setPrn(satObs->prn()); 843 #ifdef BNC_DEBUG_PPP844 LOG << " => set refsatprn: " << satObs->prn().toString() << endl;845 #endif846 846 if (OPT->_pseudoObsIono) { 847 847 refSat->setStecValue(satObs->getIonoCodeDelay(t_frequency::G1)); … … 858 858 refSat->setPrn(t_prn()); 859 859 } 860 861 860 _obsPool->setRefSatChangeRequired(sys, false); // done or impossible 862 861 }
Note:
See TracChangeset
for help on using the changeset viewer.