...
I am interested to learn more about any other improvements people are planning for qpegps.
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.
Looks like we have been doing the same work almost simultaneously!
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 ....
Ah, I seem to get speed and heading, only the speed doesn't seem to be correct, I was thinking I may not have got the correct units somewhere - perhaps something had changed between old and new gpsd.
Sounds like you have found a better fix to the problem - is this the "J" fix talked about in the gpsd forums, looking like a versino of it is due to be added to the next release?
- 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 <....> Do you use QSocketNotifier or how do you detects new information?
At present I am using a simple timer to call gpsd_poll, and the raw_hook function to handle the data. I was planning on aiming for the asynch version (can't remember the name off the top of my head). Since I am linking directly with libgpsd and not running a separate gpsd executable I don't have any sockets (not local network sockets anyway).
By the way, in order to work together we should coordinate our codes to work with the same files. <....> Any other idea about how to work together?
That sounds like a good idea. Somebody would have to transfer the 0.9.2.3.3 code to the CVS server (assuming everybody is happy with that as the current version). I think that code only made it to the download page, not CVS.
We will need to be careful not to check conflicting versions into CVS so some separate discussion by e-mail might be good to get things going.
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.
The multiple folders helps me a lot, it is so easy to drop new maps in and remove old maps without altering other files.
Other question, I have the same GPS than you but qpgs recognize it as 'Generic NMEA' and use NMEA messages <....> Do you know how to change to sirf mode with gpsd 2.xx?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144950\"][{POST_SNAPBACK}][/a][/div]
Hmm, I haven't tried switching to Sirf mode yet, but was ewondering about trying the sirf program which is part of gpsd.