Using listeners and signals with Nasal: Difference between revisions

Jump to navigation Jump to search
m
→‎Nasal code coupled to the autopilot system: http://flightgear.org/forums/viewtopic.php?f=66&t=15189&p=149376&hilit=#p149376
(→‎Nasal code coupled to the autopilot system: http://flightgear.org/forums/viewtopic.php?f=66&t=15189&p=149376&hilit=#p149376)
m (→‎Nasal code coupled to the autopilot system: http://flightgear.org/forums/viewtopic.php?f=66&t=15189&p=149376&hilit=#p149376)
Line 230: Line 230:


Some core developers are fairly opposed to the whole idea, i.e. want to avoid *any* Nasal in the fast simulation loop of the FDM, because Nasal execution is slow and non-deterministic because of its GC issue. Running it in the fast simulation loop is the last thing they want[http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg38172.html].
Some core developers are fairly opposed to the whole idea, i.e. want to avoid *any* Nasal in the fast simulation loop of the FDM, because Nasal execution is slow and non-deterministic because of its GC issue. Running it in the fast simulation loop is the last thing they want[http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg38172.html].
In addition, the developer and maintainer of the AP system is planning on adding Nasal bindings to the AP code to allow runtime instantiation of ap/property rules and has a Nasal binding for that in mind[http://flightgear.org/forums/viewtopic.php?f=66&t=15189&p=149376&hilit=#p149376].


You can then use Nasal for the high level stuff, and enable/disable/switch the individual controller elements (e.g. in order to automatically switch the autopilot mode when capturing the ILS). There are some nice examples with fgdata/Git aircraft. You could look at the 777.
You can then use Nasal for the high level stuff, and enable/disable/switch the individual controller elements (e.g. in order to automatically switch the autopilot mode when capturing the ILS). There are some nice examples with fgdata/Git aircraft. You could look at the 777.
Line 257: Line 259:


Also see:
Also see:
* http://flightgear.org/forums/viewtopic.php?f=66&t=15189&p=149376&#p149376
* http://flightgear.org/forums/viewtopic.php?f=46&t=17069
* http://flightgear.org/forums/viewtopic.php?f=46&t=17069
* http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg38170.html
* http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg38170.html
* http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg13022.html
* http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg13022.html
* https://code.google.com/p/flightgear-bugs/issues/detail?id=421
* https://code.google.com/p/flightgear-bugs/issues/detail?id=421

Navigation menu