Changeset 8619 in ntrip for trunk/BNC/src/PPP/pppSatObs.cpp


Ignore:
Timestamp:
Feb 28, 2019, 2:49:35 PM (5 years ago)
Author:
stuerze
Message:

special ssr wind up computation is added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppSatObs.cpp

    r8495 r8619  
    6262  // ------------------------------------------
    6363  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";
    6465
    6566  for (unsigned iFreq = 1; iFreq < t_frequency::max; iFreq++) {
     
    106107  // Compute Satellite Coordinates at Time of Transmission
    107108  // -----------------------------------------------------
    108   _xcSat.ReSize(7); _xcSat = 0.0;
     109  _xcSat.ReSize(6); _xcSat = 0.0;
    109110  _vvSat.ReSize(3); _vvSat = 0.0;
    110111  bool totOK  = false;
    111   ColumnVector satPosOld(7); satPosOld = 0.0;
     112  ColumnVector satPosOld(6); satPosOld = 0.0;
    112113  t_lc::type tLC = isValid(t_lc::cIF) ? t_lc::cIF : t_lc::c1;
    113114  double prange = obsValue(tLC);
     
    328329  _model._rho = rhoV.norm_Frobenius();
    329330
     331  ColumnVector vSat = _vvSat;
     332
    330333  ColumnVector neu(3);
    331334  xyz2neu(station->ellApr().data(), rhoV.data(), neu.data());
     
    371374  // ------------------
    372375  _model._tropo = t_tropo::delay_saast(station->xyzApr(), _model._eleSat);
    373 
    374   // Phase Wind-Up
    375   // -------------
    376   _model._windUp = station->windUp(_time, _prn, rSat);
    377376
    378377  // Code Biases
     
    393392  // Phase Biases
    394393  // -----------
    395   // TODO: consideration of fix indicators, yaw angle and jump counter
     394  // TODO: consideration of fix indicators and jump counter
    396395  const t_satPhaseBias* satPhaseBias = PPP_CLIENT->obsPool()->satPhaseBias(_prn);
     396  double yaw = 0.0;
     397  bool ssr = false;
    397398  if (satPhaseBias) {
     399    yaw = satPhaseBias->_yaw;
     400    ssr = true;
    398401    for (unsigned ii = 0; ii < satPhaseBias->_bias.size(); ii++) {
    399402      const t_frqPhaseBias& bias = satPhaseBias->_bias[ii];
     
    407410  }
    408411
     412  // Phase Wind-Up
     413  // -------------
     414  _model._windUp = station->windUp(_time, _prn, rSat, ssr, yaw, vSat) ;
     415
     416
    409417  // Tidal Correction
    410418  // ----------------
     
    428436    }
    429437  }
     438
     439  // Relativistic effect due to earth gravity
     440  // ----------------------------------------
     441  // TODO
    430442
    431443  // Ocean Loading
Note: See TracChangeset for help on using the changeset viewer.