Python in FlightGear: Difference between revisions

Jump to navigation Jump to search
Line 66: Line 66:
   }}
   }}
}}
}}
{{FGCquote
|1= I now have FlightGear reading other aircraft in the RTI Federation (RTI speak for a simulation environment) and publishing it's own position information for other clients (in RTI known as Federates) to read. There's a screenshot showing it all here: http://www.nanjika.co.uk/flightgear/hla1.png There are a number of different components in play here: 1) A python script Federate which represents the KC-135 tanker. It publishes position updates a bit like we have for MP aircraft. 2) FlightGear itself as a Federate. It too is publishing position updates, but is also subscribing to updates and displaying them if appropriate. In this case it is displaying the KC-135 Federate. 3) A python script simulating a radar screen. This is receiving updates from both the KC-135 Federate and the FlightGear Federate and displaying them. The python scripts and all the clever stuff are courtesy of Mathias. The actual flightgear code changes amount to only 1.2kloc so far.
|2= {{cite web
  | url    = http://sourceforge.net/p/flightgear/mailman/message/34694887/
  | title  = <nowiki>[Flightgear-devel] HLA Update</nowiki>
  | author = <nowiki>Stuart Buchanan</nowiki>
  | date  = Dec 14th, 2015
  | added  = Dec 14th, 2015
  | script_version = 0.23
  }}
}}
=== Footprint ===
=== Footprint ===
{{FGCquote
{{FGCquote

Navigation menu