Nederlands, English
Donate to ASK-Solutions (the IRADIS Foundation), Watch our videos, Support us at Patreon
Logon

A340GC, libGC and RDDP

Project started
2002
Scope
Not currently active free software and protocol development project
Topics
Free Software & Free Knowledge, Software Development, Hardware Design

A340GC, libGC and RDDP form a connected line of development around glass cockpit displays, reusable simulator software and the exchange of simulator data. A340GC provided the instrument and cockpit displays, libGC brought together reusable graphics, audio and communication functions, and RDDP enabled data exchange between software components and interfaces.

These components came together technically in the Cosmicus A340 simulator, but were not limited to that project. The development explored how cockpit displays, external data sources and physical interfaces could work together without each application having to recreate the same functions or depend directly on a single simulator or proprietary protocol.

A340GC: the glass cockpit application

A340GC developed free software for displaying an Airbus A340 glass cockpit in educational, scientific and simulator-related applications. The application focused on visible instrument displays, including the Primary Flight Display (PFD), Navigation Display (ND) and ECAM pages. It provided part of the cockpit environment; A340GC was not, by itself, a complete flight simulation system containing all flight models and physical controls.

The displays had to turn the state of a simulation into understandable graphical instruments. This required access to data from the simulator environment, while keeping the display application sufficiently independent to work with different data sources and integrations. The separation of display logic, common software functions and data exchange was therefore central to the project's design.

The A340GC software was released as free software under the GNU General Public License version 2 (GPLv2). Making the software and its interfaces available allowed others to study its operation, modify it and develop it further in different technical and educational settings.

libGC: a reusable software layer

libGC, the Glass Cockpit Library, emerged during A340GC's development to keep generally useful functions separate from the cockpit application itself. The library brought together OpenGL graphics, audio and network communication with data exchange through RDDP. SDL was used to access facilities including OpenGL and audio in a more portable way.

Keeping these functions in a separate library allowed the cockpit displays to concentrate on presenting instrument data. The same software building blocks could also support other displays and simulator-related programs without rewriting the underlying graphics, audio and communication facilities for every application.

This separation also made technical changes easier to manage. Changes to a data connection or a common function did not necessarily have to be repeated throughout every part of a cockpit application. The value of libGC therefore lay both in the functions it provided and in the ability to build new applications on the same foundation.

RDDP: data exchange and protocol separation

RDDP provided a protocol for exchanging data between parts of the simulator environment. The wider software architecture used a shared data pool and protocol-specific modules. The data pool offered a common way to make simulator data available; the modules handled connections to different external data sources and protocols.

This distinction matters: the data pool was the shared data facility, whereas RDDP was the exchange protocol. An application such as A340GC therefore did not have to be built directly around the proprietary protocol of any one flight simulator. Other software components could use the same data exchange mechanism without each maintaining a separate connection to the original data source.

RDDP also enabled communication between software and external interfaces on a documented basis. New interfaces and applications could thus be developed without using the existing cockpit displays as their starting point or limitation. The protocol was more than a facility for A340GC alone: it was a reusable development in its own right.

Application in the Cosmicus A340 simulator

In the Cosmicus A340 simulator, these components came together in a practical technical environment with cockpit displays, simulation data and physical controls. A340GC provided the glass cockpit displays; libGC supplied common software functions; and RDDP supported the exchange of data with other software components and interfaces.

The needs of this simulator provided a practical reason to develop, combine and test the components. At the same time, the architecture remained focused on reusable software and protocols. Another simulator or application should be able to make use of the library or data exchange without having to reproduce the entire Cosmicus installation.

Connection to OpenBus

For connecting physical cockpit equipment, the software architecture worked alongside BFX and OpenBus. BFX was the earlier interface electronics development associated with the F.28 simulator. It was developed further as OpenBus for Cosmicus A340, with smaller, distributed interface boards and a shared communication bus using RDDP. This RDDP-based bus communication had not yet been part of BFX.

OpenBus could therefore connect physical switches, encoders, indicators, displays and other inputs and outputs to the data exchange within the simulator environment. The hardware interface layer remained distinct from the cockpit display software. The same protocol could play a connecting role without turning the different components into one indivisible system.

Free software and development value

The combination of A340GC, libGC and RDDP shows how ASK-Solutions addressed several technical challenges separately in simulator development: graphical instrument displays, reusable software functions, access to data and exchange with external equipment. Open interfaces, source code and documentation made it possible to study, modify and reuse these solutions beyond their original application context.

The work also provided an environment for the development of graphical programming, protocol design, network communication, software architecture and hardware–software integration. Its reusable results included not only the cockpit displays, but also the separate library, the protocol facilities and the technical knowledge gained.

Status

A340GC, libGC and RDDP are part of ASK-Solutions' historical free software and protocol development and are not currently an active development focus. The software architecture and its documentation remain relevant examples of reusable simulator components and open technical interfaces.

The original archive remains available at a340gc.iradis.org, with historical project information, downloads, documentation and screenshots.

Where to go next