[Marble-devel] Review Request: First version of flightgear position provider plugin
Dennis Nienhüser
earthwings at gentoo.org
Fri May 4 14:39:41 UTC 2012
> On May 4, 2012, 1:28 p.m., Bernhard Beschow wrote:
> > I haven't looked into it, but wouldn't it be possible to use GPSd for parsing the NMEA data? Given that we have a GPSd plugin already, reusing GPSd could reduce dependencies and maintainance effort on our side. Perhaps it's possible to tell GPSd to listen on a certain port?
Maybe using something like
extern int gps_unpack(char *, struct gps_data_t *);
from gps.h es enough even.
I'm not sure how well gpsd works on Windows though (which I understand is Ralfs main objective), so supporting both libraries might be a good alternative.
- Dennis
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104736/#review13421
-----------------------------------------------------------
On May 3, 2012, 9:57 a.m., Ralf Habacker wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104736/
> -----------------------------------------------------------
>
> (Updated May 3, 2012, 9:57 a.m.)
>
>
> Review request for Marble.
>
>
> Description
> -------
>
> When selecting the plugin in the current location panel it starts listen on an udp socket (localhost:5500), which is the default port flightgear uses for exporting map display information. The data send to this port is build as gps data in nmea format.
>
> The plugin depends on the mnea library http://nmea.sourceforge.net/. The presence of this library is checked on configure time. Building of this plugins only happens when this library is available.
>
> On windows the nmea library has been added to the KDE on windows build enviroment.
>
>
> This addresses bug 298785.
> http://bugs.kde.org/show_bug.cgi?id=298785
>
>
> Diffs
> -----
>
> Findnmealib.cmake PRE-CREATION
> src/plugins/positionprovider/CMakeLists.txt bebe774
> src/plugins/positionprovider/flightgear/CMakeLists.txt PRE-CREATION
> src/plugins/positionprovider/flightgear/FlightGearPositionProviderPlugin.h PRE-CREATION
> src/plugins/positionprovider/flightgear/FlightGearPositionProviderPlugin.cpp PRE-CREATION
>
> Diff: http://git.reviewboard.kde.org/r/104736/diff/
>
>
> Testing
> -------
>
> succesfull build and tested on windows 7 with msvc 2010 in debug and release mode
>
>
> Thanks,
>
> Ralf Habacker
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120504/90cef07a/attachment.html>
More information about the Marble-devel
mailing list