Changeset 5980 in ntrip for trunk/BNC/src/PPP
- Timestamp:
- Aug 17, 2014, 2:32:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppRun.cpp
r5977 r5980 43 43 #include <iostream> 44 44 #include <iomanip> 45 #include <sstream> 45 46 #include <string.h> 46 47 #include <map> … … 241 242 delete _epoData.front(); _epoData.pop_front(); 242 243 243 emit newMessage(QByteArray(output._log.c_str()), true); 244 ostringstream log; 245 if (output._error) { 246 log << output._log; 247 } 248 else { 249 log.setf(ios::fixed); 250 log << staID.data() 251 << " X = " << setprecision(4) << output._xyzRover[0] 252 << " Y = " << setprecision(4) << output._xyzRover[1] 253 << " Z = " << setprecision(4) << output._xyzRover[2] 254 << " dN = " << setprecision(4) << output._neu[0] 255 << " dE = " << setprecision(4) << output._neu[1] 256 << " dU = " << setprecision(4) << output._neu[2]; 257 } 258 259 emit newMessage(QByteArray(log.str().c_str()), true); 244 260 } 245 261 }
Note:
See TracChangeset
for help on using the changeset viewer.