On Saturday 15 September 2007 23:27:56 Stuart Buchanan wrote: > Based on some work by AJ and Mathias, I should say that all I did was to vaguely recall an old cvs-commit message mentioning redout, dig through the code to discover Mathias had already fully implemented it and figured out how to make it work...
This sort of implementation of redout/blackout is something that I've been looking for in FG for quite a while now; the actual implementation is nice and flexible, thanks Mathias. > I've written some Nasal code to > provide general blackout/redout for JSBSim aircraft. Actually, better than that - it works for yasim aircraft too ;-) > The Nasal code (which should be placed in Aircraft/Generic) I'm of the mind that this is very like the "dynamic view" feature in nature; it's not really aircraft-specific and should ideally be easily available from the menus like the dynamic view is. Of course, it won't actually work for all JSBSim models as is unless aircraft authors either add that little section to their FDM config, or provide an alternative version of the blackout function. For aircraft with anti-G systems (or anywhere the aircraft modeller wishes to change the G-LOC onset values) the function can be easily overridden in the same way as we already frequently do with controls.nas wrappers. > Still to do:- YASim integration. Done :) The pilot-g property is actually one that yasim creates by default... (sorry, I had no recollection of recreating it in my JSBSim Lightning config but you clearly found it anyway!) > As always, comments are very welcome. Thanks for putting together something presentable to get this nice feature some well deserved publicity and hopefully some useage :-) Cheers, AJ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel