[Marble-devel] Review Request: gpsd plugin: buffered values and position delay

Bastian Holst bastianholst at gmx.de
Mon Aug 22 14:38:34 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102412/
-----------------------------------------------------------

Review request for Marble and Dennis Nienhüser.


Summary
-------

Playing with the navigation mode I recognized that the position is not up to date (using the gpsd plugin).
Looking at the code it seemed for me that the buffer of gpsmm is a queue so that we don't read the newest value.

This Patch takes the last valid one out of the buffer and returns it.


Diffs
-----

  src/plugins/positionprovider/gpsd/GpsdConnection.cpp c098ca2 

Diff: http://git.reviewboard.kde.org/r/102412/diff


Testing
-------

I ran around a littlebit and compared the values with the ones in xgps.

$ gpsd -V
gpsd: 2.95 (revision 2010-12-03T21:16:03)


Thanks,

Bastian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20110822/30012d33/attachment.html>


More information about the Marble-devel mailing list