Hi,

there is a bug in limits.nas.
"Gear extended above maximum extension speed!" is allways reported when moving 
the gear, limits/max-gear-extension-speed is ignored.

cause: checkGear compares the airspeed to the cmdarg() value of the property 
listener, which is a boolean value (gear-down), so the max gearspeed is zero 
or one knot which is allways exceeded - unless you have a balloon.

The patch below fixes this.

Greetings, Torsten

Index: limits.nas
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Generic/limits.nas,v
retrieving revision 1.2
diff -u -p -r1.2 limits.nas
--- limits.nas  15 Feb 2006 22:53:23 -0000      1.2
+++ limits.nas  2 May 2006 08:57:38 -0000
@@ -55,7 +55,7 @@ checkFlaps = func {

 checkGear = func {
   airspeed = getprop("velocities/airspeed-kt");
-  max_gear = cmdarg().getValue();
+   max_gear = getprop( "limits/max-gear-extension-speed" );

   if ((max_gear != nil) and (airspeed > max_gear))
   {



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to