On Wednesday 17 December 2008 23:04:28 John Denker wrote:
> A couple more six-legged crawly things:
>
> 42:: Instrument: KAP-140: As of rc2, as installed in the c172p and
>  presumably others, on initial startup the display of the Sim World
>  KAP-140 is blank.  This is already a bug, because the display of the
>  Real World KAP-140 is never blank (unless you pull the circuit
>  breaker, which is not relevant to the present discussion).  In
>  particular, the altitude alerter function is always active and cannot
>  be turned off, even in the rather common case where the auto-bank and
>  auto-pitch functions are on standby.  In this case, the RW KAP-140
>  displays the target altitude.  It would be nice if the SW KAP-140
>  did the same.

Unfortunately I am unable to build FG at the moment but I think this patch 
will display the target altitude at initialisation.

diff --git a/Aircraft/Generic/kap140.nas b/Aircraft/Generic/kap140.nas
index 1b76255..1e129c9 100644
--- a/Aircraft/Generic/kap140.nas
+++ b/Aircraft/Generic/kap140.nas
@@ -226,7 +226,7 @@ var apInit = func {
   annunciatorFpm.setBoolValue(0);
   annunciatorAlt.setBoolValue(0);
   annunciatorAltArm.setBoolValue(0);
-  annunciatorAltNumber.setBoolValue(0);
+  annunciatorAltNumber.setBoolValue(1);
   annunciatorGs.setBoolValue(0);
   annunciatorGsArm.setBoolValue(0);
   annunciatorPtUp.setBoolValue(0);


>  The nightmare scenario for the noobie pilot is taking off from an
>  airport situated above 1000 MSL and flying to an airport at 950 MSL.
>  Since the "default" target altitude is zero, there will be an alert
>  on short final at 1000 MSL == 50 feet AGL.  Unexpected beeping
>  warnings at 50 feet AGL are not a good thing.

Displaying the target altitude at all times will of course still result in the 
beeping as you describe, but I guess it will be more expected. Can you 
confirm that the RW KAP-140 behaves like this?

>  We note in passing that the instructions at
>    http://wiki.flightgear.org/index.php?title=Bendix/King_KAP140_Autopilot
>  do not even mention the alerter.

I was too lazy to document all the features, so I just pointed to the Pilot's 
Guide :-) Feel free to add a mention of the altitude alerter in the Wiki.


-- 
Roy Vegard Ovesen

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to