Changeset 6351 in ntrip for trunk/BNC/src
- Timestamp:
- Nov 26, 2014, 6:34:14 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncsp3.cpp
r6349 r6351 190 190 191 191 sp3Sat->_xyz *= 1.e3; 192 sp3Sat->_clk *= t_CST::c * 1.e-6; 192 if (sp3Sat->_clk == 999999.999999) { 193 sp3Sat->_clkValid = false; 194 sp3Sat->_clk = 0.0; 195 } 196 else { 197 sp3Sat->_clkValid = true; 198 sp3Sat->_clk *= t_CST::c * 1.e-6; 199 } 193 200 194 201 _currEpoch->_sp3Sat.push_back(sp3Sat); -
trunk/BNC/src/bncsp3.h
r6347 r6351 17 17 t_sp3Sat() { 18 18 _xyz.ReSize(3); 19 _xyz = 0.0; 20 _clk = 0.0; 19 _xyz = 0.0; 20 _clk = 0.0; 21 _clkValid = false; 21 22 } 22 23 ~t_sp3Sat() {} … … 24 25 ColumnVector _xyz; 25 26 double _clk; 27 bool _clkValid; 26 28 }; 27 29 -
trunk/BNC/src/orbComp/sp3Comp.cpp
r6350 r6351 216 216 epo->_dr[sat1->_prn] = sat1->_xyz - sat2->_xyz; 217 217 epo->_xyz[sat1->_prn] = sat1->_xyz; 218 if ( true) { //// TODO: check whether clocks set in SP3 files218 if (sat1->_clkValid && sat2->_clkValid) { 219 219 epo->_dc[sat1->_prn] = sat1->_clk - sat2->_clk; 220 220 clkSats.insert(sat1->_prn);
Note:
See TracChangeset
for help on using the changeset viewer.