Changeset 8499 in ntrip for trunk


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

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r8483 r8499  
    22992299  // Clock Correction
    23002300  // ----------------
    2301   double dClkA0 = rtnClk(1) - (xB(5) - dc) * t_CST::c;
    2302   double dClkA1 = rtnClk(2) - xB(6) * t_CST::c;
    2303   double dClkA2 = rtnClk(3) - xB(7) * t_CST::c;
     2301  double dClkA0 = rtnClk(1) - (xB(4) - dc) * t_CST::c;
     2302  double dClkA1 = 0.0;
     2303  double dClkA2 = 0.0;
     2304  if (rtnClk(2)) {
     2305    dClkA0 = rtnClk(1) - (xB(5) - dc) * t_CST::c;
     2306    dClkA1 = rtnClk(2) -  xB(6) * t_CST::c;
     2307  }
     2308  if (rtnClk(3)) {
     2309    dClkA2 = rtnClk(3) - xB(7) * t_CST::c;
     2310  }
    23042311
    23052312  if (sd) {
     
    23222329      rsw(1), rsw(2), rsw(3));
    23232330
     2331  // RTNET full clock for RINEX and SP3 file
     2332  // ---------------------------------------
    23242333  double relativity = -2.0 * DotProduct(xP, rtnVel) / t_CST::c;
    2325   double clkRnx     = (rtnClk[0] - relativity) / t_CST::c;  // in seconds
     2334  double clkRnx     = (rtnClk[0] - relativity) / t_CST::c;  // [s]
    23262335  double clkRnxRate = rtnClk[1] / t_CST::c;                 // [s/s = -]
    23272336  double clkRnxAcc  = rtnClk[2] / t_CST::c;                 // [s/s² ) -/s]
    23282337
    23292338  if (_rnx) {
    2330     double clkRnxSig     = rtnClkSig[0] / t_CST::c;           // in seconds
     2339    double clkRnxSig     = rtnClkSig[0] / t_CST::c;           // [s]
    23312340    double clkRnxRateSig = rtnClkSig[1] / t_CST::c;           // [s/s = -]
    23322341    double clkRnxAccSig  = rtnClkSig[2] / t_CST::c;           // [s/s² ) -/s]
Note: See TracChangeset for help on using the changeset viewer.