]> git.mxchange.org Git - flightgear.git/commit
Patch from Alex Perry:
authordavid <david>
Thu, 10 Oct 2002 18:15:22 +0000 (18:15 +0000)
committerdavid <david>
Thu, 10 Oct 2002 18:15:22 +0000 (18:15 +0000)
commite8db622ce18ef98d482af528200f26e3bdc0e070
tree6ebbbb50bbe926223a646ef545b8d49b5a9bff4a
parent470d233f0d603b7db2b4ce243342db3a0de1a207
Patch from Alex Perry:

Ok, I found the problem.  You're computing the dynamic pressure in
"psf" and adding it to the static pressure in "inHg" to form the
total pressure.  The attached patch is the simple fix to the source.

With that fix, failing the pitot while in cruise at 3k' will cause
the airspeed to indicate beyond redline during climb ... well before 4k'.
Thus, a pitot problem can be detected on any IFR altitude change.

Similarly, failing the static (with working pitot) while cruising 4k'
causes the airspeed to indicate beyond redline during a descent
well before reaching 3k' (during which, of course, the ALT looks fine).
Thus, a static failure can be detected before the aircraft breaks out
of the pilot tolerance range and is blatantly conspicuous soon after.
src/Instrumentation/airspeed_indicator.cxx
src/Systems/pitot.cxx