Changeset 8498 in ntrip
- Timestamp:
- Sep 26, 2018, 10:48:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp
r8484 r8498 2296 2296 // Clock Correction 2297 2297 // ---------------- 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 } 2301 2308 2302 2309 if (sd) { … … 2319 2326 rsw(1), rsw(2), rsw(3)); 2320 2327 2328 // RTNET full clock for RINEX and SP3 file 2329 // --------------------------------------- 2321 2330 double relativity = -2.0 * DotProduct(xP, rtnVel) / t_CST::c; 2322 double clkRnx = (rtnClk[0] - relativity) / t_CST::c; // in seconds2331 double clkRnx = (rtnClk[0] - relativity) / t_CST::c; // [s] 2323 2332 double clkRnxRate = rtnClk[1] / t_CST::c; // [s/s = -] 2324 2333 double clkRnxAcc = rtnClk[2] / t_CST::c; // [s/s² ) -/s] 2325 2334 2326 2335 if (_rnx) { 2327 double clkRnxSig = rtnClkSig[0] / t_CST::c; // in seconds2336 double clkRnxSig = rtnClkSig[0] / t_CST::c; // [s] 2328 2337 double clkRnxRateSig = rtnClkSig[1] / t_CST::c; // [s/s = -] 2329 2338 double clkRnxAccSig = rtnClkSig[2] / t_CST::c; // [s/s² ) -/s]
Note:
See TracChangeset
for help on using the changeset viewer.