Changeset 10028 in ntrip for trunk/BNC/src/PPP/pppFilter.cpp
- Timestamp:
- Apr 12, 2023, 2:39:30 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppFilter.cpp
r10022 r10028 48 48 // Process Single Epoch 49 49 //////////////////////////////////////////////////////////////////////////// 50 t_irc t_pppFilter::processEpoch( ) {50 t_irc t_pppFilter::processEpoch(int num) { 51 51 _numSat = 0; 52 52 const double maxSolGap = 60.0; 53 bool setNeuNoiseToZero = false; 54 55 if (num > 1) { 56 setNeuNoiseToZero = true; 57 } 53 58 54 59 // Vector of all Observations … … 80 85 return failure; 81 86 } 82 #ifdef BNC_DEBUG_PPP 87 88 #ifdef BNC_DEBUG_PPP 83 89 if (OPT->_obsModelType == OPT->DCMcodeBias || 84 90 OPT->_obsModelType == OPT->DCMphaseBias) { … … 91 97 ColumnVector xFltOld = _xFlt; 92 98 SymmetricMatrix QFltOld = _QFlt; 93 bool setNeuNoiseToZero = false;94 for (int iSys = 0; iSys < usedSystems.size(); iSys++) {95 char sys = usedSystems[iSys];96 int num = 0;97 for (unsigned jj = 0; jj < allObs.size(); jj++) {98 if (allObs[jj]->prn().system() == sys) {99 ++num;100 }101 }102 // if (num < OPT->_minObs) {103 // setNeuNoiseToZero = true;104 // }105 }106 99 setStateVectorAndVarCovMatrix(xFltOld, QFltOld, setNeuNoiseToZero); 107 100 … … 687 680 // get last epoch 688 681 t_pppObsPool::t_epoch *epoch = _obsPool->lastEpoch(); 682 #ifdef BNC_DEBUG_PPP 683 LOG << "GET LAST EPOCH" << endl; 684 #endif 689 685 if (!epoch) { 690 686 LOG << "t_pppFilter::datumTransformation: !lastEpoch" << endl; … … 692 688 } 693 689 _epoTime = epoch->epoTime(); 690 694 691 LOG.setf(ios::fixed); 695 LOG << string(_epoTime) << "\nDATUM TRANSFORMATION "<< endl;692 LOG << "DATUM TRANSFORMATION in Epoch "<< string(_epoTime) << endl; 696 693 697 694 vector<t_pppSatObs*> &allObs = epoch->obsVector(); … … 795 792 796 793 #ifdef BNC_DEBUG_PPP 797 //LOG << "xFltOld:\n" << xFltOld << endl;798 //LOG << "xFlt :\n" << _xFlt << endl;794 // LOG << "xFltOld:\n" << xFltOld << endl; 795 // LOG << "xFlt :\n" << _xFlt << endl; 799 796 #endif 800 797 … … 824 821 // ================= 825 822 _datumTrafo->switchAA(); 826 823 827 824 _obsPool->putEpoch(_epoTime, allObs, pseudoObsIono, refSatMap); 825 #ifdef BNC_DEBUG_PPP 826 LOG << "PUT EPOCH t_pppFilter::datumTransformation " << _epoTime.timestr().c_str() << endl; 827 #endif 828 828 829 829 return success;
Note:
See TracChangeset
for help on using the changeset viewer.