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

Bastian Holst bastianholst at gmx.de
Mon Aug 22 14:40:05 UTC 2011


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

(Updated Aug. 22, 2011, 2:40 p.m.)


Review request for Marble and Dennis Nienhüser.


Changes
-------

Removing spaces at the end of the line.


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

  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/3dab3110/attachment.html>


More information about the Marble-devel mailing list