[Merkaartor] Refactoring GPS/ directory
bvh
bvh-osm at irule.be
Sun Sep 7 13:44:05 BST 2008
On Sat, Sep 06, 2008 at 07:03:52PM +0200, Chris Browet wrote:
> Absolutely not. The upstream was unfinished and buggy, and I have already
> heavily modified it.
Great. Do you think it is possible to remove the polling for stopLoop
inside QGPSComDevice? Since this part is mostly going to be used for
mobile devices, waking up every 100ms is really penalizing if it is not
needed (GPS changes normally only come every 1s). I used the thread
event loop in QGPSSDDevice it works quite well.
The only tricky part is
to make sure that the slots are really executed in the GPS-thread and
not inside the main program. If you want I can take a shot at it, but I
would probably break the serial port parsing since I don' t have a
device to test that.
In the meantime I am going to streamline the gps dock window a little
bit.
cu bart
More information about the Merkaartor
mailing list