- Timestamp:
- Aug 8, 2014, 12:58:03 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppRunPostProc.cpp
r5863 r5879 144 144 this, SLOT(slotMessage(const QByteArray,bool))); 145 145 qRegisterMetaType<bncTime>("bncTime"); 146 connect(_pppClient, SIGNAL(newPosition(bncTime, double, double, double)),147 this, SIGNAL(newPosition(bncTime, double, double, double)));146 connect(_pppClient, SIGNAL(newPosition(bncTime, QVector<double>)), 147 this, SIGNAL(newPosition(bncTime, QVector<double>))); 148 148 } 149 149 -
trunk/BNC/src/PPP/pppRunPostProc.h
r5863 r5879 49 49 void progress(int); 50 50 void finished(); 51 void newPosition(bncTime time, double x, double y, double z);51 void newPosition(bncTime time, QVector<double> xx); 52 52 53 53 public slots: -
trunk/BNC/src/PPP/pppRunRealTime.cpp
r5878 r5879 75 75 this, SLOT(slotNewCorrections(QStringList))); 76 76 77 connect(this, SIGNAL(newPosition(bncTime, double, double, double)),78 BNC_CORE, SIGNAL(newPosition(bncTime, double, double, double)));77 connect(this, SIGNAL(newPosition(bncTime, QVector<double>)), 78 BNC_CORE, SIGNAL(newPosition(bncTime, QVector<double>))); 79 79 80 80 for (unsigned iPrn = 0; iPrn <= t_prn::MAXPRN; iPrn++) { … … 204 204 205 205 if (!output._error && _opt->xyzAprRoverSet()) { 206 emit newPosition (output._epoTime, output._neu[0], output._neu[1], output._neu[2]); 206 QVector<double> xx(6); 207 xx.data()[0] = output._xyzRover[0]; 208 xx.data()[1] = output._xyzRover[1]; 209 xx.data()[2] = output._xyzRover[2]; 210 xx.data()[3] = output._neu[0]; 211 xx.data()[4] = output._neu[1]; 212 xx.data()[5] = output._neu[2]; 213 emit newPosition(output._epoTime, xx); 207 214 } 208 215 -
trunk/BNC/src/PPP/pppRunRealTime.h
r5860 r5879 20 20 signals: 21 21 void newMessage(QByteArray msg, bool showOnScreen); 22 void newPosition(bncTime time, double x, double y, double z);22 void newPosition(bncTime time, QVector<double> xx); 23 23 void newNMEAstr(QByteArray str); 24 24 -
trunk/BNC/src/bnccore.h
r5875 r5879 85 85 void newCorrections(QStringList); 86 86 void providerIDChanged(QString); 87 void newPosition(bncTime time, double x, double y, double z);87 void newPosition(bncTime time, QVector<double> xx); 88 88 89 89 private slots: -
trunk/BNC/src/bncfigureppp.cpp
r4980 r5879 107 107 // 108 108 //////////////////////////////////////////////////////////////////////////// 109 void bncFigurePPP::slotNewPosition(bncTime time, double x, double y, double z){109 void bncFigurePPP::slotNewPosition(bncTime time, QVector<double> xx){ 110 110 111 111 QMutexLocker locker(&_mutex); … … 114 114 115 115 newPos->time = time; 116 newPos->xyz[0] = x ;117 newPos->xyz[1] = y;118 newPos->xyz[2] = z;116 newPos->xyz[0] = xx.data()[0]; 117 newPos->xyz[1] = xx.data()[1]; 118 newPos->xyz[2] = xx.data()[2]; 119 119 120 120 _pos.push_back(newPos); -
trunk/BNC/src/bncfigureppp.h
r4975 r5879 37 37 38 38 public slots: 39 void slotNewPosition(bncTime time, double x, double y, double z);39 void slotNewPosition(bncTime time, QVector<double> xx); 40 40 41 41 protected: -
trunk/BNC/src/bncwindow.cpp
r5873 r5879 94 94 _bncFigureLate = new bncFigureLate(this); 95 95 _bncFigurePPP = new bncFigurePPP(this); 96 connect(BNC_CORE, SIGNAL(newPosition(bncTime, double, double, double)),97 _bncFigurePPP, SLOT(slotNewPosition(bncTime, double, double, double)));96 connect(BNC_CORE, SIGNAL(newPosition(bncTime, QVector<double>)), 97 _bncFigurePPP, SLOT(slotNewPosition(bncTime, QVector<double>))); 98 98 _runningRealTime = false; 99 99 _runningPostProcessingReqc = false; … … 2482 2482 _mapWin = new bncMapWin(this); 2483 2483 connect(_mapWin, SIGNAL(mapClosed()), this, SLOT(slotMapPPPClosed())); 2484 connect(BNC_CORE, SIGNAL(newPosition(bncTime, double, double, double)),2485 _mapWin, SLOT(slotNewPosition(bncTime, double, double, double)));2484 connect(BNC_CORE, SIGNAL(newPosition(bncTime, QVector<double>)), 2485 _mapWin, SLOT(slotNewPosition(bncTime, QVector<double>))); 2486 2486 } 2487 2487 _mapWin->show(); -
trunk/BNC/src/map/bncmapwin.cpp
r5323 r5879 164 164 // 165 165 //////////////////////////////////////////////////////////////////////////// 166 void bncMapWin::slotNewPosition(bncTime /* time */, double xx, double yy, double zz) { 167 double xyz[3]; 168 xyz[0] = xx; 169 xyz[1] = yy; 170 xyz[2] = zz; 166 void bncMapWin::slotNewPosition(bncTime /* time */, QVector<double> xx) { 171 167 double ell[3]; 172 xyz2ell(x yz, ell);168 xyz2ell(xx.data(), ell); 173 169 gotoLocation(ell[0]*180.0/M_PI, ell[1]*180.0/M_PI); 174 170 } -
trunk/BNC/src/map/bncmapwin.h
r5323 r5879 41 41 42 42 public slots: 43 void slotNewPosition(bncTime time, double xx, double yy, double zz);43 void slotNewPosition(bncTime time, QVector<double> xx); 44 44 45 45 private slots:
Note:
See TracChangeset
for help on using the changeset viewer.