Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r983 r984 138 138 int sampl = settings.value("sp3Sampl").toInt(); 139 139 _sp3 = new bnsSP3(prep, ext, path, intr, sampl); 140 } 141 142 // Reference frame 143 // --------------- 144 _crdTrafo = false; 145 if (settings.value("refSys").toString() == "ETRS89") { 146 _crdTrafo = true; 140 147 } 141 148 } … … 435 442 ep->position(GPSweek, GPSweeks, xB, vv); 436 443 437 ColumnVector dx = xx.Rows(1,3) - xB.Rows(1,3); 444 ColumnVector xyz = xx.Rows(1,3); 445 if (_crdTrafo) { 446 crdTrafo(xyz); 447 } 448 449 ColumnVector dx = xyz - xB.Rows(1,3); 438 450 439 451 double dClk = (xx(4) - xB(4)) * 299792458.0; … … 477 489 slotMessage("bns::slotMoveSocket"); 478 490 } 491 492 // Transform Coordinates IGS -> ETRF 493 //////////////////////////////////////////////////////////////////////////// 494 void t_bns::crdTrafo(ColumnVector& xyz) { 495 496 497 } -
trunk/BNS/bns.h
r923 r984 58 58 const QString& prn, const ColumnVector& xx, 59 59 struct ClockOrbit::SatData* sd); 60 void crdTrafo(ColumnVector& xyz); 60 61 61 62 QTcpServer* _clkServer; … … 73 74 bnsRinex* _rnx; 74 75 bnsSP3* _sp3; 76 bool _crdTrafo; 75 77 }; 76 78 #endif
Note:
See TracChangeset
for help on using the changeset viewer.