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

Bastian Holst bastianholst at gmx.de
Mon Aug 29 19:34:37 UTC 2011


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

(Updated Aug. 29, 2011, 7:34 p.m.)


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 (updated)
-------

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)

GPSD_API_MAJOR_VERSION = 4
I did NOT test with GPSD_API_MAJOR_VERSION = 3


Thanks,

Bastian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20110829/4a5537e8/attachment.html>


More information about the Marble-devel mailing list