Tue Jan 03, 2017 6:20 am
Lately I've been spending quite a bit of time in the flight simulator X-Plane, good times. I wanted a way to track my position in KDE Marble, and after asking on the X-Plane forums, it appeared to have some interest, and I couldn't / didn't find anywhere that it had been done. At this point I had literally only spent 30 minutes in Marble, (I've used Google Earth a bit, but am doing everything I can to swear off Google-anything) but decided to see what I could code up.
Here's some copypasta from the github README I setup. I'm open to suggestions, I haven't made much code public before.... Also, having to compile Marble will make this plugin useless for 99.most% of X-Plane users I suspect, how could I go about submitting it for addition to greater Marble package?
Thanks, and Happy New Year!
http://forums.x-plane.org/index.php?/fo ... de-marble/
KDE Marble plugin to parse X-Plane UDP packets and track position.
The following are extra libraries you'll need to install for the build
> sudo apt install git cmake qtdeclarative5-dev libqt5svg5-dev
Download the marble source from kde.org. Some of these instructions where taken from https://marble.kde.org/sources.php
> git clone -b Applications/16.12 git://anongit.kde.org/marble ~/marble/sources
Create directory for plugin and download
> mkdir ~/marble/sources/src/plugins/positionprovider/xp
> git clone https://github.com/akeyla420/XPlanePositionProvider.git ~/marble/sources/src/plugins/positionprovider/xp/
Add entry to CMakeLists.txt in the positionprovider dir so the plugin is included during the build
> sed -i '1s;^;ADD_SUBDIRECTORY( xp )\n;' ~/marble/sources/src/plugins/positionprovider/CMakeLists.txt
> mkdir -p ~/marble/build
> cd ~/marble/build
> cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_KF5=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local ~/marble/sources
> sudo make install
Once Marble is loaded, on the Location tab, under Position Tracking, select X-Plane.
Set X-Plane to output datasets 3, 17, 20 to the IP of the machine running Marble, port 49003
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], kde-cfeck, Sogou [Bot]