Nasal HLA standalone: Difference between revisions

Jump to navigation Jump to search
m
No edit summary
Line 9: Line 9:


This article will serve as the guinea pig for writing [[Developing with HLA]], using [[FlightGear HLA support (High Level Architecture)]].
This article will serve as the guinea pig for writing [[Developing with HLA]], using [[FlightGear HLA support (High Level Architecture)]].
{{cquote|There is no simple mapping between FlightGear and FOM parameters. Sometimes it's necessary to translate units, geodetic/geocentric frames or perform other calculations. The generic mapping engine would have to be a very powerful scripting language like Nasal or Python.I've decided to start with a simple hardcoded interface and investigate all FOM attributes and interactions that may be supported by FlightGear/HLA. After we understand all possible features of the FlightGear/HLA interface, we will reconsider implementing the generic interface.<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg22711.html|title=<nowiki>Re: [Flightgear-devel] [RFC] Dynamic plug-in interface for I/Omodules</nowiki>|author=Petr Gotthard|date=Wed, 01 Jul 2009 07:31:44 -0700}}</ref>|Petr Gotthard}}


{{cquote|Another thing that would work well is to proxy all nasal script invocations to a Nasal helper thread - again this assumes scripts   
{{cquote|Another thing that would work well is to proxy all nasal script invocations to a Nasal helper thread - again this assumes scripts   
Line 14: Line 16:
hard to do. As more and more functions get moved to nasal, this might become a very easy way to balance the CPU usage.<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg18063.html|title=<nowiki>[Flightgear-devel] multi-threading / CPU usage</nowiki>|author=James Turner|date=Fri, 03 Oct 2008 06:52:12 -0700}}</ref>|James Turner}}
hard to do. As more and more functions get moved to nasal, this might become a very easy way to balance the CPU usage.<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg18063.html|title=<nowiki>[Flightgear-devel] multi-threading / CPU usage</nowiki>|author=James Turner|date=Fri, 03 Oct 2008 06:52:12 -0700}}</ref>|James Turner}}


{{cquote|you're all hoping for a better FG. A large redesign, so we can make use of multi-core systems, can even distribute parts across multiple
machines. Can separate the GUI. Get Nasal outside the main simulation loop.<ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg32832.html|title=<nowiki>Re: [Flightgear-devel] Heads up: scenery download / built-in</nowiki>|author=ThorstenB|date=Wed, 15 Jun 2011 16:06:00 -0700}}</ref>|ThorstenB}}


== Status 06/2013 ==
== Status 06/2013 ==

Navigation menu