Changeset 8619 in ntrip for trunk/BNC/src/PPP
- Timestamp:
- Feb 28, 2019, 2:49:35 PM (6 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppSatObs.cpp
r8495 r8619 62 62 // ------------------------------------------ 63 63 const string preferredAttrib = "CWPXI_"; 64 //const string preferredAttrib = "G:12&PWCSLXYN G:5&IQX R:12&PC R:3&IQX E:16&BCX E:578&IQX J:1&SLXCZ J:26&SLX J:5&IQX C:IQX I:ABCX S:1&C S:5&IQX"; 64 65 65 66 for (unsigned iFreq = 1; iFreq < t_frequency::max; iFreq++) { … … 106 107 // Compute Satellite Coordinates at Time of Transmission 107 108 // ----------------------------------------------------- 108 _xcSat.ReSize( 7); _xcSat = 0.0;109 _xcSat.ReSize(6); _xcSat = 0.0; 109 110 _vvSat.ReSize(3); _vvSat = 0.0; 110 111 bool totOK = false; 111 ColumnVector satPosOld( 7); satPosOld = 0.0;112 ColumnVector satPosOld(6); satPosOld = 0.0; 112 113 t_lc::type tLC = isValid(t_lc::cIF) ? t_lc::cIF : t_lc::c1; 113 114 double prange = obsValue(tLC); … … 328 329 _model._rho = rhoV.norm_Frobenius(); 329 330 331 ColumnVector vSat = _vvSat; 332 330 333 ColumnVector neu(3); 331 334 xyz2neu(station->ellApr().data(), rhoV.data(), neu.data()); … … 371 374 // ------------------ 372 375 _model._tropo = t_tropo::delay_saast(station->xyzApr(), _model._eleSat); 373 374 // Phase Wind-Up375 // -------------376 _model._windUp = station->windUp(_time, _prn, rSat);377 376 378 377 // Code Biases … … 393 392 // Phase Biases 394 393 // ----------- 395 // TODO: consideration of fix indicators , yaw angleand jump counter394 // TODO: consideration of fix indicators and jump counter 396 395 const t_satPhaseBias* satPhaseBias = PPP_CLIENT->obsPool()->satPhaseBias(_prn); 396 double yaw = 0.0; 397 bool ssr = false; 397 398 if (satPhaseBias) { 399 yaw = satPhaseBias->_yaw; 400 ssr = true; 398 401 for (unsigned ii = 0; ii < satPhaseBias->_bias.size(); ii++) { 399 402 const t_frqPhaseBias& bias = satPhaseBias->_bias[ii]; … … 407 410 } 408 411 412 // Phase Wind-Up 413 // ------------- 414 _model._windUp = station->windUp(_time, _prn, rSat, ssr, yaw, vSat) ; 415 416 409 417 // Tidal Correction 410 418 // ---------------- … … 428 436 } 429 437 } 438 439 // Relativistic effect due to earth gravity 440 // ---------------------------------------- 441 // TODO 430 442 431 443 // Ocean Loading -
trunk/BNC/src/PPP/pppSatObs.h
r7836 r8619 90 90 _tide = 0.0; 91 91 _windUp = 0.0; 92 _rel = 0.0; 92 93 for (unsigned ii = 0; ii < t_frequency::max; ii++) { 93 94 _antPCO[ii] = 0.0; … … 108 109 double _tide; 109 110 double _windUp; 111 double _rel; 110 112 double _antPCO[t_frequency::max]; 111 113 double _codeBias[t_frequency::max]; -
trunk/BNC/src/PPP/pppStation.cpp
r7250 r8619 11 11 * Created: 29-Jul-2014 12 12 * 13 * Changes: 13 * Changes: 14 14 * 15 15 * -----------------------------------------------------------------------*/ … … 37 37 } 38 38 39 // 39 // 40 40 ////////////////////////////////////////////////////////////////////////////// 41 41 void t_pppStation::setXyzApr(const ColumnVector& xyzApr) { … … 45 45 } 46 46 47 // 47 // 48 48 ////////////////////////////////////////////////////////////////////////////// 49 49 void t_pppStation::setNeuEcc(const ColumnVector& neuEcc) { … … 53 53 } 54 54 55 // 55 // 56 56 ////////////////////////////////////////////////////////////////////////////// 57 double t_pppStation::windUp(const bncTime& time, t_prn prn, 58 const ColumnVector& rSat) const { 59 return _windUp->value(time, _xyzApr, prn, rSat); 57 double t_pppStation::windUp(const bncTime& time, t_prn prn, 58 const ColumnVector& rSat, bool ssr, double yaw, 59 const ColumnVector& vSat) const { 60 return _windUp->value(time, _xyzApr, prn, rSat, ssr, yaw, vSat); 60 61 } 61 62 -
trunk/BNC/src/PPP/pppStation.h
r7250 r8619 31 31 const ColumnVector& tideDspl() const {return _tideDspl;} 32 32 double dClk() const {return _dClk;} 33 double windUp(const bncTime& time, t_prn prn, const ColumnVector& rSat) const; 33 double windUp(const bncTime& time, t_prn prn, const ColumnVector& rSat, bool ssr, 34 double yaw, const ColumnVector& vSat) const; 34 35 double stec(const t_vTec* vTec, const double signalPropagationTime, const ColumnVector& rSat) const; 35 36
Note:
See TracChangeset
for help on using the changeset viewer.