Changeset 2061 in ntrip
- Timestamp:
- Dec 1, 2009, 1:27:38 PM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r2060 r2061 157 157 double tropDelay = 0.0; 158 158 159 return satData->rho + _xcBanc(4) + tropDelay; 159 return satData->rho + _xcBanc(4) - satData->clk + tropDelay; 160 160 } 161 161 … … 166 166 unsigned nPar = _params.size(); 167 167 unsigned nObs = epoData->size(); 168 169 cout << "update " << nPar << " " << nObs << endl;170 168 171 169 _AA.ReSize(nObs, nPar); // variance-covariance matrix … … 179 177 QString prn = itObs.key(); 180 178 t_satData* satData = itObs.value(); 181 _ll(iObs) = cmpValueP3(satData); 179 _ll(iObs) = satData->P3 - cmpValueP3(satData); 182 180 183 181 unsigned iPar = 0; … … 190 188 } 191 189 192 cout << _AA << endl;193 cout.flush();194 195 190 _QQ.ReSize(nPar); 196 191 _QQ << _AA.t() * _AA; -
trunk/BNC/bncpppclient.cpp
r2060 r2061 319 319 ostringstream str; 320 320 str.setf(ios::fixed); 321 str << " PPP" << _staID.data() << " "321 str << " BANC " << _staID.data() << " " 322 322 << _epoData->tt.timestr(1) << " " << _epoData->size() << " " 323 323 << setw(14) << setprecision(3) << _model->xcBanc()(1) << " " 324 324 << setw(14) << setprecision(3) << _model->xcBanc()(2) << " " 325 << setw(14) << setprecision(3) << _model->xcBanc()(3); 325 << setw(14) << setprecision(3) << _model->xcBanc()(3) << endl; 326 327 str << " PPP " << _staID.data() << " " 328 << _epoData->tt.timestr(1) << " " << _epoData->size() << " " 329 << setw(14) << setprecision(3) << _model->xx()(1) << " " 330 << setw(14) << setprecision(3) << _model->xx()(2) << " " 331 << setw(14) << setprecision(3) << _model->xx()(3); 326 332 327 333 emit newMessage(QString(str.str().c_str()).toAscii(), true);
Note:
See TracChangeset
for help on using the changeset viewer.