Hi All,

Those of you with long memories may remember some random failure work that John 
Denker and I worked on a while ago. For various reasons, this never made it 
into CVS. 

Recently, on the FG forum, "erobo" raised interest in this again, and came up 
with failure manager with some nice functions.

I've spent some time reconciling the two approaches, using the MTBF and MCBF 
features of John's work, and erobo's idea of an overall "manager". 

The result is available here:

http://www.nanjika.co.uk/flightgear/failures.tar.gz

I've done a fair bit of testing on JSBSim aircraft, and a little testing on 
YASim. 

Obviously, the instrument failure modes depend on the appropriate instrument 
respecting the "serviceable" flag. Note also that "failing" the 
ailerons/elevators/rudder currently marks them as read-only, resulting in 
various warning messages to the console. I think that Melchior is still looking 
at an appropriate solution to this.

I have identified the following further areas for development, if anyone is 
interested:
1) The engine failure model is very basic - effectively failing the engine off 
by switching off the magnetos and setting the cutoff. It might be interesting 
to model a stuck throttle/mixture/prop in the same way that the 
ailerons/elevators/rudder are currently modeled.
2) Additional, aircraft-specific failures can be added at runtime to 
failures.breakHash. However, I don't currently have a way that these can be 
automagically added to the dialogs.
3) Currently, the correct number of engines is determined in a somewhat 
haphazard manner. We should probably do the same for features such as landing 
gear and speedbrakes.

I believe the current patch is ready for review and inclusion in CVS. Feedback 
is obviously very welcome :)

My thanks to John and erobo for their work on this.

-Stuart



      

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to