Changeset 9685 in ntrip
- Timestamp:
- Apr 11, 2022, 2:52:54 PM (3 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bncbiassnx.cpp
r9684 r9685 149 149 if (unit.contains("ns")) { 150 150 // from nano seconds into meters 151 value /= 1.e9; 151 152 value *= t_CST::c; 152 value /= 1.e9; 153 153 154 } 154 155 -
trunk/BNC/src/satObs.cpp
r9682 r9685 37 37 *out << corr._prn.toString() << ' ' << setw(11) << corr._iod << ' ' 38 38 << setw(10) << setprecision(4) << corr._dClk * t_CST::c << ' ' 39 << setw(10) << setprecision(4) << corr._dotDClk * t_CST::c * 1.e3 << ' ' // m/s => mm/s40 << setw(10) << setprecision(4) << corr._dotDotDClk * t_CST::c * 1.e3 << endl; // m/s => mm/s39 << setw(10) << setprecision(4) << corr._dotDClk * t_CST::c * 1.e3 << ' ' // m/s => mm/s 40 << setw(10) << setprecision(4) << corr._dotDotDClk * t_CST::c * 1.e3 << endl; // m/s => mm/s 41 41 } 42 42 out->flush(); … … 67 67 corr._prn.setFlags(1);// I/NAV 68 68 } 69 corr._dClk /= t_CST::c; 70 corr._dotDClk /= t_CST::c; 71 corr._dotDotDClk /= t_CST::c; 72 73 corr._dotDClk /= 1.e3; // mm/s => m/s 74 corr._dotDotDClk /= 1.e3; // mm/s => m/s 69 corr._dClk /= (t_CST::c); // m 70 corr._dotDClk /= (t_CST::c * 1.e3);// mm/s 71 corr._dotDotDClk /= (t_CST::c * 1.e3);// mm/s² 75 72 76 73 corrList.push_back(corr); … … 109 106 << setw(10) << setprecision(4) << corr._xr[1] << ' ' 110 107 << setw(10) << setprecision(4) << corr._xr[2] << " " 111 << setw(10) << setprecision(4) << corr._dotXr[0] * 1.e3 112 << setw(10) << setprecision(4) << corr._dotXr[1] * 1.e3 113 << setw(10) << setprecision(4) << corr._dotXr[2] * 1.e3 << endl; 108 << setw(10) << setprecision(4) << corr._dotXr[0] * 1.e3 << ' ' // m/s => mm/s 109 << setw(10) << setprecision(4) << corr._dotXr[1] * 1.e3 << ' ' // m/s => mm/s 110 << setw(10) << setprecision(4) << corr._dotXr[2] * 1.e3 << endl; // m/s => mm/s 114 111 } 115 112 out->flush(); … … 140 137 >> corr._dotXr[0] >> corr._dotXr[1] >> corr._dotXr[2]; 141 138 142 corr._dotXr /= 1.e3; // mm/s => m/s 139 corr._dotXr[0] /= 1.e3; // mm/s => m/s 140 corr._dotXr[1] /= 1.e3; // mm/s => m/s 141 corr._dotXr[2] /= 1.e3; // mm/s => m/s 143 142 144 143 if (corr._prn.system() == 'E') {
Note:
See TracChangeset
for help on using the changeset viewer.