Changeset 5879 in ntrip for trunk/BNC/src/PPP
- Timestamp:
- Aug 8, 2014, 12:58:03 PM (10 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 4 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
Note:
See TracChangeset
for help on using the changeset viewer.