Hi All, Based on some work by AJ and Mathias, I've written some Nasal code to provide general blackout/redout for JSBSim aircraft.
The patch is available from http://www.nanjika.co.uk/flightgear/blackout.tar.gz. The Nasal code (which should be placed in Aircraft/Generic) provides the following function, based on information from Vivian: - Gradual blackout starting at 3.5G, with complete blackout at 5G. - Gradual redout starting at -2G, with complete redout at -4G. - Redout onsets faster than blackout, and clears faster. The patch provided shows how this can be used by aircraft maintainers, using the pc7 as an example: - A Minor change to the pc7 JSBSim configuration to output the pilot G to a useful property. - The Nasal code is included in the -set.xml file. Still to do: - YASim integration. If someone with some YASim experience could take a look at this, it should be almost trivial to enhance. - G-value tuning. It is currently pretty easy to completely blackout at high speed on the pc7. - Enhancement for G-suits (which Vivian tells me add 1G to the blackout values). - Enhancement to allow G-limits to be set from properties. For example, Vivian tells me that G-Suits add 1G to the blackout limit, while I recall Red Bull Air-race pilots pulling 8G. As always, comments are very welcome. -Stuart ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- 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