Skip to content

C++ Library to access X-Plane network API via UDP sockets

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

HellGL/libXPlane-UDP-Client

 
 

Repository files navigation

*** libXplane-UDP-Client ***

WHAT IS IT?

This is a C++ shared library for accessing X-Plane (http://www.x-plane.com) 
datarefs and commands over a network. 

For further details see http://blog.shahada.abubakar.net/post/linux-udp-network-client-library-for-x-plane-10-and-11 .


INSTALLING FROM PACKAGE

.deb packages are available for Ubuntu 16.04 LTS (for x86_64) and 
Raspbian Stretch (for Raspberry Pi). To install, do the following:

- Install the repository public key:
	- From the repository itself:
	  wget -O- http://repo.shahada.abubakar.net/pubkey.asc | sudo apt-key add -

- Add the APT source:
    cd /etc/apt/sources.list.d
		sudo wget http://repo.shahada.abubakar.net/repo.shahada.abubakar.net.sources.list

- Install the binaries:
  sudo apt-get update
	sudo apt-get install libxplane-udp-client1 libxplane-udp-client1-dev libxplane-udp-client1-bin


BUILDING FROM SOURCE

  - Run "make" will build a shared library and tools.
	- Running "make install" as root will install it.

TEST TOOLS

  - The library includes two test programs you can use as examples.

	- TestXPlaneBeaconListener
		
		This monitors for "beacons" broadcast by X-Plane to your LAN.
		A message is output for every beacon packet received.

	- TestXPlaneUDPClient

	  Monitors some data refs (aircraft name, throttle position) while
		adjusting the throttle position in and out continously.


About

C++ Library to access X-Plane network API via UDP sockets

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 81.1%
  • Makefile 15.9%
  • Shell 3.0%