Changeset 3052 in ntrip for trunk/BNC/combination
- Timestamp:
- Feb 25, 2011, 4:22:14 PM (14 years ago)
- Location:
- trunk/BNC/combination
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/combination/bnccomb.cpp ¶
r3051 r3052 26 26 #include "bncpppclient.h" 27 27 #include "bnssp3.h" 28 #include "bncantex.h" 28 29 29 30 using namespace std; … … 187 188 188 189 _append = Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked; 190 191 // ANTEX File 192 // ---------- 193 _antex = 0; 194 QString antexFileName = settings.value("pppAntex").toString(); 195 if (!antexFileName.isEmpty()) { 196 _antex = new bncAntex(); 197 if (_antex->readFile(antexFileName) != success) { 198 emit newMessage("wrong ANTEX file", true); 199 delete _antex; 200 _antex = 0; 201 } 202 } 189 203 } 190 204 … … 200 214 delete _out; 201 215 delete _sp3; 216 delete _antex; 202 217 } 203 218 … … 367 382 bncPPPclient::applyCorr(resTime, corr, xc, vv); 368 383 xc(4) += 2.0 * DotProduct(xc.Rows(1,3),vv) / t_CST::c / t_CST::c; 384 if (_antex) { 385 ColumnVector neu(3); 386 if (_antex->offset(corr->prn, neu) == success) { 387 cout << neu.t(); 388 } 389 else { 390 cout << "antenna not found" << endl; 391 } 392 } 369 393 _sp3->write(resTime.gpsw(), resTime.gpssec(), corr->prn, xc, _append); 370 394 } -
TabularUnified trunk/BNC/combination/bnccomb.h ¶
r3047 r3052 9 9 class cmbCaster; 10 10 class bnsSP3; 11 class bncAntex; 11 12 12 13 class cmbParam { … … 89 90 bnsSP3* _sp3; 90 91 bool _append; 92 bncAntex* _antex; 91 93 }; 92 94
Note:
See TracChangeset
for help on using the changeset viewer.