Changeset 8903 in ntrip for trunk/BNC/src/ephemeris.cpp


Ignore:
Timestamp:
Mar 18, 2020, 11:08:50 AM (4 years ago)
Author:
stuerze
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/ephemeris.cpp

    r8800 r8903  
    6262    return failure;
    6363  }
    64   const QVector<int> updateInt = QVector<int>()  << 1 << 2 << 5 << 10 << 15 << 30
    65                                                  << 60 << 120 << 240 << 300 << 600
    66                                                  << 900 << 1800 << 3600 << 7200
    67                                                  << 10800;
     64
    6865  xc.ReSize(6);
    6966  vv.ReSize(3);
     
    7572      double dtO = tt - _orbCorr->_time;
    7673      if (_orbCorr->_updateInt) {
    77         dtO -= (0.5 * updateInt[_orbCorr->_updateInt]);
     74        dtO -= (0.5 * ssrUpdateInt[_orbCorr->_updateInt]);
    7875      }
    7976      ColumnVector dx(3);
     
    9794      double dtC = tt - _clkCorr->_time;
    9895      if (_clkCorr->_updateInt) {
    99         dtC -= (0.5 * updateInt[_clkCorr->_updateInt]);
     96        dtC -= (0.5 * ssrUpdateInt[_clkCorr->_updateInt]);
    10097      }
    10198      xc[3] += _clkCorr->_dClk + _clkCorr->_dotDClk * dtC + _clkCorr->_dotDotDClk * dtC * dtC;
     
    704701  static const double C20   = -1082.6257e-6;
    705702
    706   double rho = rr.norm_Frobenius();
     703  double rho = rr.NormFrobenius();
    707704  double t1  = -gmWGS/(rho*rho*rho);
    708705  double t2  = 3.0/2.0 * C20 * (gmWGS*AE*AE) / (rho*rho*rho*rho*rho);
Note: See TracChangeset for help on using the changeset viewer.