Changeset 10791 in ntrip for trunk/BNC/src/PPP/pppObsPool.cpp
- Timestamp:
- Dec 3, 2025, 5:37:16 PM (5 weeks ago)
- File:
-
- 1 edited
-
trunk/BNC/src/PPP/pppObsPool.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppObsPool.cpp
r10034 r10791 15 15 * -----------------------------------------------------------------------*/ 16 16 17 #include <iomanip> 17 18 #include "pppObsPool.h" 19 #include "pppClient.h" 18 20 19 21 using namespace BNC_PPP; … … 74 76 delete _satCodeBiases[iPrn]; 75 77 _satCodeBiases[iPrn] = satCodeBias; 78 if (OPT->_logMode > t_pppOptions::normal) { 79 LOG << "codeBias " << string(satCodeBias->_time) << ' ' << satCodeBias->_prn.toString(); 80 for (const auto& bias : satCodeBias->_bias) { 81 LOG << " " << bias._rnxType2ch << ' ' << setw(7) << setprecision(3) << bias._value; 82 } 83 LOG << endl; 84 } 76 85 } 77 86 … … 82 91 delete _satPhaseBiases[iPrn]; 83 92 _satPhaseBiases[iPrn] = satPhaseBias; 93 if (OPT->_logMode > t_pppOptions::normal) { 94 LOG.setf(ios::fixed); 95 LOG << "phaseBias " << string(satPhaseBias->_time) << ' ' << satPhaseBias->_prn.toString() 96 << ' ' << setw(7) << setprecision(2) << satPhaseBias->_yaw * 180.0 / M_PI 97 << ' ' << setw(7) << setprecision(3) << satPhaseBias->_yawRate * 180.0 / M_PI; 98 for (const auto& bias : satPhaseBias->_bias) { 99 LOG << " " << bias._rnxType2ch << ' ' << setw(2) << bias._jumpCounter; 100 if (bias._fixIndicator) { 101 LOG << " x "; 102 } 103 else { 104 LOG << " . "; 105 } 106 LOG << setw(6) << setprecision(3) << bias._value; 107 } 108 LOG << endl; 109 } 110 } 111 112 // 113 ///////////////////////////////////////////////////////////////////////////// 114 void t_pppObsPool::clearCodeBiases(char sys) { 115 for (unsigned iPrn = 1; iPrn <= t_prn::MAXPRN; ++iPrn) { 116 t_prn prn; prn.set(iPrn); 117 if (prn.system() == sys) { 118 delete _satCodeBiases[iPrn]; 119 _satCodeBiases[iPrn] = 0; 120 } 121 } 122 } 123 124 // 125 ///////////////////////////////////////////////////////////////////////////// 126 void t_pppObsPool::clearPhaseBiases(char sys) { 127 for (unsigned iPrn = 1; iPrn <= t_prn::MAXPRN; ++iPrn) { 128 t_prn prn; prn.set(iPrn); 129 if (prn.system() == sys) { 130 delete _satPhaseBiases[iPrn]; 131 _satPhaseBiases[iPrn] = 0; 132 } 133 } 84 134 } 85 135
Note:
See TracChangeset
for help on using the changeset viewer.
