- Timestamp:
- Sep 7, 2014, 5:40:26 PM (10 years ago)
- Location:
- trunk/BNC/src/PPP_free
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_free/bncpppclient.cpp
r6079 r6080 95 95 const t_satObs* obs = satObs[ii]; 96 96 t_satData* satData = new t_satData(); 97 98 if (_epoData->tt.undef()) { 99 _epoData->tt = obs->_time; 100 } 101 97 102 satData->tt = obs->_time; 98 103 satData->prn = QString(obs->_prn.toString().c_str()); … … 180 185 double a1 = f1 * f1 / (f1 * f1 - f2 * f2); 181 186 double a2 = - f2 * f2 / (f1 * f1 - f2 * f2); 187 satData->L1 = satData->L1 * t_CST::c / f1; 188 satData->L2 = satData->L2 * t_CST::c / f2; 182 189 satData->P3 = a1 * satData->P1 + a2 * satData->P2; 183 190 satData->L3 = a1 * satData->L1 + a2 * satData->L2; 184 191 satData->lambda3 = a1 * t_CST::c / f1 + a2 * t_CST::c / f2; 185 192 _epoData->satData[satData->prn] = satData; 186 _epoData->tt = satData->tt;187 193 } 188 194 else { … … 200 206 double a1 = f1 * f1 / (f1 * f1 - f5 * f5); 201 207 double a5 = - f5 * f5 / (f1 * f1 - f5 * f5); 208 satData->L1 = satData->L1 * t_CST::c / f1; 209 satData->L5 = satData->L5 * t_CST::c / f5; 202 210 satData->P3 = a1 * satData->P1 + a5 * satData->P5; 203 211 satData->L3 = a1 * satData->L1 + a5 * satData->L5; 204 212 satData->lambda3 = a1 * t_CST::c / f1 + a5 * t_CST::c / f5; 205 213 _epoData->satData[satData->prn] = satData; 206 _epoData->tt = satData->tt;207 214 } 208 215 else { -
trunk/BNC/src/PPP_free/bncpppclient.h
r6073 r6080 128 128 } 129 129 satData.clear(); 130 tt.reset(); 130 131 } 131 132
Note:
See TracChangeset
for help on using the changeset viewer.