forked from dotsha747/libXPlane-UDP-Client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
48 lines (28 loc) · 1.35 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
*** 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.