...
I am interested to learn more about any other improvements people are planning for qpegps.
I'm happy to read your lines.
As I said in the topic, I'm working mainly on suporting tiled maps (maps composed of a several images), my first job has been to create a MapSelector class as suggested in todo.txt.
I have also done some cleanup on MapDisp class and some optimizations (I think) displaying maps and tracks (in any case this modifications were needed as previous work to my tiled masp).
After the message from hvontres about gpsd 2.xx I have read the documetation and thinking as you that linking with libgpsd was a good idea and quite easy I have been working this week on that task.
I have compiled gpsd 2.33 and modified client.cpp to use libgpsd interface and at this moment I have a (more or less) working implementation. Tha main problems I have had until now are:
- gpsd 2.33 does not seen to give speed/heading information to qpegps (just like you). After reading some forums and mailing list archives I realize that the problem wasn't on my code but in that version on gpsd. I have applied a path found in one of this mailing lists (
https://lists.berlios.de/pipermail/gpsd-dev...une/003694.html)and now qpegps gets all gps information. So this problem is solved.
- Instead of a timer like in the current version of qpegps, I want to use the watcher mode and a QSocketNotifier to know when there is new information from gpsd but the slot function associated with the notifier is never called. If I start qpegps from the command line to see qDebug messages I notice that if I press return on the terminal after qpegps inicialization messages, the notification messages arrive and all works fine. Any idea about why this happen or how to solve it? Do you use QSocketNotifier or how do you detects new information?
By the way, in order to work together we should coordinate our codes to work with the same files. I think that the best is to use a version system (CVS). I have contacted whit Ralf Haselmeier (the original autor of qpeGPS) and he agree to add me into the developers list of the the qpeGPS sourceforge project so I can post my changes to sourceforge CVS server (although I'm still waiting for him to include me) . I suggest you'll do the same so both can work together. Any other idea about how to work together?
Anyway I would like to see your modifications. (I think that the multiple folder for maps is a good idea, I used to have several folders and manualy switch between several maps.txt files) and how it can be mixed with mines to make a better version.
Other question, I have the same GPS than you but qpgs recognize it as 'Generic NMEA' and use NMEA messages I have tried to switch to sirf binary mode typing 'N=1' on a telnet client, but the answer is always 'GPSD, N=0' and it continue in nmea mode. Do you know how to change to sirf mode with gpsd 2.xx?