Read canvas image by HTTP

From FlightGear wiki
Revision as of 05:05, 21 October 2016 by ThomasS (talk | contribs) (Created page with "'''This article is under construction currently!''' == Important Note == The feature described in this article is not part of the FlightGear distribution and requires to buil...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This article is under construction currently!

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, eg. 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