FlightGear Newsletter October 2012: Difference between revisions

Jump to navigation Jump to search
(Added V06 cockpit panel description under 'FG and Android')
Line 6: Line 6:
== Development news ==
== Development news ==
Note to all contributors: Please also copy your newsletter additions to the changelog of the upcoming release: [[Changelog_3.0.0]].
Note to all contributors: Please also copy your newsletter additions to the changelog of the upcoming release: [[Changelog_3.0.0]].
=== Making HTTP Requests via Nasal ===
FlightGear versions >= 2.8 include a new feature to make HTTP requests using a new xmlhttprequest fgcommand. So, Nasal is able to execute so called "fgcommands", these are internal FlightGear commands implemented in C++ This can be used to implement AJAX-like server/client exchanges.
You can pass any FG property tree data (lat,lon,alt,groundspeed etc) via conventional GET requests.
The request will be made asynchronously, in order not to block the main loop and affect the frame rate. This is why you should register a listener to invoke a callback upon completion of the request and check the status flag (200=OK).
For further details, please see [[Howto:Making HTTP Requests from Nasal]].


=== FGRadar: Standalone ATC client ===
=== FGRadar: Standalone ATC client ===

Navigation menu