- Timestamp:
- Sep 26, 2018, 10:49:22 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r8483 r8499 2299 2299 // Clock Correction 2300 2300 // ---------------- 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 } 2304 2311 2305 2312 if (sd) { … … 2322 2329 rsw(1), rsw(2), rsw(3)); 2323 2330 2331 // RTNET full clock for RINEX and SP3 file 2332 // --------------------------------------- 2324 2333 double relativity = -2.0 * DotProduct(xP, rtnVel) / t_CST::c; 2325 double clkRnx = (rtnClk[0] - relativity) / t_CST::c; // in seconds2334 double clkRnx = (rtnClk[0] - relativity) / t_CST::c; // [s] 2326 2335 double clkRnxRate = rtnClk[1] / t_CST::c; // [s/s = -] 2327 2336 double clkRnxAcc = rtnClk[2] / t_CST::c; // [s/s² ) -/s] 2328 2337 2329 2338 if (_rnx) { 2330 double clkRnxSig = rtnClkSig[0] / t_CST::c; // in seconds2339 double clkRnxSig = rtnClkSig[0] / t_CST::c; // [s] 2331 2340 double clkRnxRateSig = rtnClkSig[1] / t_CST::c; // [s/s = -] 2332 2341 double clkRnxAccSig = rtnClkSig[2] / t_CST::c; // [s/s² ) -/s]
Note:
See TracChangeset
for help on using the changeset viewer.