Dave Perry <[EMAIL PROTECTED]> said:

> I updated SimGear, FlightGear, and the base from cvs and recompiled 
> today.  Since then, all the c172 panels (both 2d and 3d) have two bugs.
> 1.  The airspeed indicator does not work, and
> 2.  The tachometer pointer looks like it is part of a dial.  It does 
> rotate, just the wrong graphic.
> Regards,
> Dave
> 

Here's a patch to fix the asi problem (it affects most aircraft panels).

Best,

Jim


Index: airspeed_indicator.cxx
===================================================================
RCS file:
/var/cvs/FlightGear-0.9/FlightGear/src/Instrumentation/airspeed_indicator.cxx,v
retrieving revision 1.4
diff -r1.4 airspeed_indicator.cxx
62c62,65
<                                 // Now, reverse the equation
---
>                                 // Now, reverse the equation (normalize
dynamic pressure to avoid "nan" results from sqrt)
>         if (q < 0) {
>            q = 0.0;
>         }



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

Reply via email to