[Flightgear-devel] [PATCH][RFC] c172 stall horn fix(?)

2004-12-19 Thread Melchior FRANZ
After a discussion on irc://irc.flightgear.org/#flightgear and reading
an old thread 
http://www.google.com/search?q=+site:www.mail-archive.com+%22stall+horn
I think that a patch like the following would be advisable. It turns the
stall horn off on ground if all wheels are on ground and the wind speed is
below 10 kt (arbitrary number). Under these conditions one would assume that
the low pressure conditions for the sensor are not fulfilled. (Rationale:
the whining stall horn on parked/stopped aircrafts is reportedly not realistic
and pretty annoying, too. :-)

m.


RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/c172/c172-sound.xml,v
retrieving revision 1.18
diff -u -p -r1.18 c172-sound.xml
--- c172-sound.xml  5 Dec 2004 10:23:13 -   1.18
+++ c172-sound.xml  19 Dec 2004 11:33:00 -
@@ -205,7 +205,18 @@
modelooped/mode
pathSounds/stall.wav/path
condition
-property/sim/alarms/stall-warning/property
+and
+ property/sim/alarms/stall-warning/property
+ greater-than
+   property/velocities/airspeed-kt/property
+   value10/value
+ /greater-than
+ not
+   property/gear/gear[0]/wow/property
+   property/gear/gear[1]/wow/property
+   property/gear/gear[2]/wow/property
+ /not
+/and
 !-- property/sim/current-view/internal/property --
/condition
volume

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] [PATCH][RFC] c172 stall horn fix(?)

2004-12-19 Thread Erik Hofman
Melchior FRANZ wrote:
After a discussion on irc://irc.flightgear.org/#flightgear and reading
an old thread 
http://www.google.com/search?q=+site:www.mail-archive.com+%22stall+horn
I think that a patch like the following would be advisable. It turns the
stall horn off on ground if all wheels are on ground and the wind speed is
below 10 kt (arbitrary number). Under these conditions one would assume that
the low pressure conditions for the sensor are not fulfilled. (Rationale:
the whining stall horn on parked/stopped aircrafts is reportedly not realistic
and pretty annoying, too. :-)
Seems reasonable to me.
Committed. Thanks.
Erik
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d