Changeset 8498 in ntrip


Ignore:
Timestamp:
Sep 26, 2018, 10:48:20 AM (6 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp

    r8484 r8498  
    22962296  // Clock Correction
    22972297  // ----------------
    2298   double dClkA0 = rtnClk(1) - (xB(5) - dc) * t_CST::c;
    2299   double dClkA1 = rtnClk(2) - xB(6) * t_CST::c;
    2300   double dClkA2 = rtnClk(3) - xB(7) * t_CST::c;
     2298  double dClkA0 = rtnClk(1) - (xB(4) - dc) * t_CST::c;
     2299  double dClkA1 = 0.0;
     2300  double dClkA2 = 0.0;
     2301  if (rtnClk(2)) {
     2302    dClkA0 = rtnClk(1) - (xB(5) - dc) * t_CST::c;
     2303    dClkA1 = rtnClk(2) -  xB(6) * t_CST::c;
     2304  }
     2305  if (rtnClk(3)) {
     2306    dClkA2 = rtnClk(3) - xB(7) * t_CST::c;
     2307  }
    23012308
    23022309  if (sd) {
     
    23192326      rsw(1), rsw(2), rsw(3));
    23202327
     2328  // RTNET full clock for RINEX and SP3 file
     2329  // ---------------------------------------
    23212330  double relativity = -2.0 * DotProduct(xP, rtnVel) / t_CST::c;
    2322   double clkRnx     = (rtnClk[0] - relativity) / t_CST::c;  // in seconds
     2331  double clkRnx     = (rtnClk[0] - relativity) / t_CST::c;  // [s]
    23232332  double clkRnxRate = rtnClk[1] / t_CST::c;                 // [s/s = -]
    23242333  double clkRnxAcc  = rtnClk[2] / t_CST::c;                 // [s/s² ) -/s]
    23252334
    23262335  if (_rnx) {
    2327     double clkRnxSig     = rtnClkSig[0] / t_CST::c;           // in seconds
     2336    double clkRnxSig     = rtnClkSig[0] / t_CST::c;           // [s]
    23282337    double clkRnxRateSig = rtnClkSig[1] / t_CST::c;           // [s/s = -]
    23292338    double clkRnxAccSig  = rtnClkSig[2] / t_CST::c;           // [s/s² ) -/s]
Note: See TracChangeset for help on using the changeset viewer.