|
From: ztep <juj...@ya...> - 2006-11-23 08:39:28
|
From: "Graham" <gr...@4o...> > My main thoughts were to update to latest gpsd, using the lib interface, > hopefully making the communication to gpsd cleaner. It also offloads the > work of interpreting the gps info to the expert library so qpegps can get > on with displaying it. There seems to be a number of extra pieces of > information gpsd will report (such as position errors) so I am thinking > about finding ways to display those without cluttering the interface. Hi Graham, Are you still interested in develop the compatibility with the latest gpsd? I have uploaded to svn a version of my trial with gpsd 2.xx as a branch of the head version I uploaded past weekend. This version works quite well if I poll gpsd with a timer every 500 ms, but my goal is to use a QSocketNotifier to know when ther is new data form gpsd. I have got problems with this because the activated() signal is never called. Things that I notice: - The socket descriptor given by gpsd is allwais 0. I know that this is a valid value, but is it not reserved for standar input? - When I start qpegps from the shell (./qpegps) in order to see the messages from qDegug sentences, it starts to receive QSocketNotifier notifications after I press return on the shell (qpegps is the running process of thar shell, that is I don't run in in background with &). After pressing return, all works ok. If you (or someone else) can use my code as starting point it is on: https://svn.sourceforge.net/svnroot/qpegps/branches/gpsd2xx/qpegps This code is based on trunk revision 237 that I uploaded to svn on november 18, I'm going to continue adding track animation support from v0.9.2.3.3 to this version, but as long as you only need to work on client.h/cpp and gpsstatus.h/cpp files, we can work together. Regrards, ztep ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com |