Read canvas image by HTTP

From FlightGear wiki
Revision as of 06:45, 21 October 2016 by Red Leader (talk | contribs) (Template:WIP)
Jump to navigation Jump to search
WIP.png Work in progress
This article or section will be worked on in the upcoming hours or days.
See history for the latest developments.

Important Note

The feature described in this article is not part of the FlightGear distribution and requires to build FlighGear from source.

Objective

There are situations, e.g., for cockpit builders, where it is useful to display instruments like PD, ND, Eicas externally from the FlightGear 3D main window in a separate window or on a separate monitor. Many of these instruments are created by Canvas internally. This article provides a patch to FlightGear for downloading any canvas image from a running FlightGear process by HTTP.

Status (10/2016)

This feature was created based on version 2016.3.1. It works so far. However, there are latencies and this solution isn't efficient. Just creating the PNG image from OSG takes up to 100ms.

Building

  • Download and extract the attached tar archive
  • Copy the simgear and flightgear

Using