Changeset 7288 in ntrip for trunk/BNC/src/PPP_SSR_I
- Timestamp:
- Sep 20, 2015, 10:39:48 PM (10 years ago)
- Location:
- trunk/BNC/src/PPP_SSR_I
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/src/PPP_SSR_I/pppClient.cpp ¶
r7241 r7288 35 35 * Created: 21-Nov-2009 36 36 * 37 * Changes: 37 * Changes: 38 38 * 39 39 * -----------------------------------------------------------------------*/ … … 76 76 //////////////////////////////////////////////////////////////////////////// 77 77 void t_pppClient::processEpoch(const vector<t_satObs*>& satObs, t_output* output) { 78 78 79 79 // Convert and store observations 80 80 // ------------------------------ 81 81 _epoData->clear(); 82 82 for (unsigned ii = 0; ii < satObs.size(); ii++) { 83 const t_satObs* obs = satObs[ii]; 83 const t_satObs* obs = satObs[ii]; 84 84 t_prn prn = obs->_prn; 85 85 if (prn.system() == 'E') {prn.setFlags(1);} // force I/NAV usage … … 145 145 QString prn = it.key(); 146 146 t_satData* satData = it.value(); 147 147 148 148 if (cmpToT(satData) != success) { 149 149 delete satData; … … 211 211 // ------------------------ 212 212 else if (satData->system() == 'R' && _opt->useSystem('R')) { 213 if (satData->P1 != 0.0 && satData->P2 != 0.0 && 213 if (satData->P1 != 0.0 && satData->P2 != 0.0 && 214 214 satData->L1 != 0.0 && satData->L2 != 0.0 ) { 215 215 … … 249 249 // ------------------------ 250 250 else if (satData->system() == 'E' && _opt->useSystem('E')) { 251 if (satData->P1 != 0.0 && satData->P5 != 0.0 && 251 if (satData->P1 != 0.0 && satData->P5 != 0.0 && 252 252 satData->L1 != 0.0 && satData->L5 != 0.0 ) { 253 253 double f1 = t_CST::freq(t_frequency::E1, 0); … … 293 293 } 294 294 295 // 295 // 296 296 //////////////////////////////////////////////////////////////////////////// 297 297 void t_pppClient::putOrbCorrections(const std::vector<t_orbCorr*>& corr) { … … 309 309 } 310 310 311 // 311 // 312 312 //////////////////////////////////////////////////////////////////////////// 313 313 void t_pppClient::putClkCorrections(const std::vector<t_clkCorr*>& corr) { … … 325 325 } 326 326 327 // 327 // 328 328 ////////////////////////////////////////////////////////////////////////////// 329 329 void t_pppClient::putCodeBiases(const std::vector<t_satCodeBias*>& satCodeBias) { … … 335 335 // 336 336 ////////////////////////////////////////////////////////////////////////////// 337 void t_pppClient::putPhaseBiases(const std::vector<t_satPhaseBias*>& /*satPhaseBias*/) { 338 } 339 340 // 341 ////////////////////////////////////////////////////////////////////////////// 337 342 void t_pppClient::putTec(const t_vTec* /*vTec*/) { 338 343 } 339 344 340 // 345 // 341 346 ////////////////////////////////////////////////////////////////////////////// 342 347 void t_pppClient::putEphemeris(const t_eph* eph) { … … 362 367 // Satellite Position 363 368 //////////////////////////////////////////////////////////////////////////// 364 t_irc t_pppClient::getSatPos(const bncTime& tt, const QString& prn, 369 t_irc t_pppClient::getSatPos(const bncTime& tt, const QString& prn, 365 370 ColumnVector& xc, ColumnVector& vv) { 366 371 … … 404 409 satData->clk = clkSat * t_CST::c; 405 410 return success; 406 } 411 } 407 412 } 408 413 -
TabularUnified trunk/BNC/src/PPP_SSR_I/pppClient.h ¶
r7235 r7288 38 38 39 39 namespace BNC_PPP { 40 40 41 41 class t_pppClient : public interface_pppClient { 42 42 public: … … 46 46 void putEphemeris(const t_eph* eph); 47 47 void putTec(const t_vTec* vTec); 48 void putOrbCorrections(const std::vector<t_orbCorr*>& corr); 49 void putClkCorrections(const std::vector<t_clkCorr*>& corr); 50 void putCodeBiases(const std::vector<t_satCodeBias*>& satCodeBias); 48 void putOrbCorrections(const std::vector<t_orbCorr*>& corr); 49 void putClkCorrections(const std::vector<t_clkCorr*>& corr); 50 void putCodeBiases(const std::vector<t_satCodeBias*>& satCodeBias); 51 void putPhaseBiases(const std::vector<t_satPhaseBias*>& satPhaseBias); 51 52 std::ostringstream& log() {return *_log;} 52 53 const t_pppOptions* opt() const {return _opt;} … … 61 62 t_pppFilter* _filter; 62 63 t_pppUtils* _pppUtils; 63 std::ostringstream* _log; 64 std::ostringstream* _log; 64 65 }; 65 66
Note:
See TracChangeset
for help on using the changeset viewer.