Skip to content

XPCockpit enables Cockpit builders to easily interface X-Plane internal datarefs with external hardware and external glass cockpit screens. It is written in C/C++ and currently supports OSX and Linux.

Notifications You must be signed in to change notification settings

ale-novo/xpcockpit

 
 

Repository files navigation

2022/09/18

This is the xpcockpit Project by Reto Stockli, supported by Hans Jansen.

It enables to connect custom hardware to X-Plane by use of a C library
which allows to subscribe to X-Plane datarefs and commands. The
currently supported hardware is most OpenCockpits cards and Leo Bodnar's 
BU0836 card. The project also includes a glass cockpit software which
is a further development of the OpenGC project for Boeing 737 and Airbus 320.

The project consists of these components
libxpcockpit: a library containing I/O functions of all xpcockpit clients. Needs to be compiled first
xpserver: the plugin to X-Plane which handles dataref/command I/O via TCP/IP
xpclient: a sample client software to show how to subscribe and use datarefs
xpusb: the client which interacts with OpenCockpits/Leo Bodnar's Hardware
xpopengc: the glass cockpit software client that simulates B737/A320 Gauges
xppi: the client which enables the Rasperry Pi GPIO usage with X-Plane
xpsismo: the client which communicates to the SISMO Ethernet Modules
xparduino: the client which communicates to Arduino (demo only, not operational)

The project is aimed at the following crowd:
- X-Plane users working on Linux or OSX and now also on Windows
- People who want to build their own home cockpits
- People with some programming exercise
- Friends of good wine and cheese

HOW TO START:
- first compile and install the library libxpcockpit
- then compile and install ther x-plane plugin xpserver
- then compile (and optionally install) any of the clients like xpsismo or xpopengc

Information on compiling and installing those items are found in the respective subdirectories

---------------------------------------------------------------------------------------------
NEWS: 
1. For existing users of xpcockpit: the library is a new thing. I've realized that a lot of
the data handling code was replicated in each client, so I've packed everything in a library,
which has to be compiled only once. The clients then all link to this library.

2. Changes in install location: per default modules are not installed in their project root 
directories any more. Please use ./configure --prefix=xyz to choose an appropriate install
location. You will also have to use --with-libxpcockpit= for modules like xpsismo, xpopengc
and others to find libxpcockpit. It searches in the libxpcockpit project root directory by default.
---------------------------------------------------------------------------------------------


About

XPCockpit enables Cockpit builders to easily interface X-Plane internal datarefs with external hardware and external glass cockpit screens. It is written in C/C++ and currently supports OSX and Linux.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 48.3%
  • C++ 48.1%
  • M4 1.1%
  • Python 1.0%
  • TeX 0.6%
  • Shell 0.5%
  • Makefile 0.4%