]> git.mxchange.org Git - flightgear.git/commit
Mathias Fröhlich:
authorehofman <ehofman>
Sat, 8 Oct 2005 12:33:06 +0000 (12:33 +0000)
committerehofman <ehofman>
Sat, 8 Oct 2005 12:33:06 +0000 (12:33 +0000)
commit411d133a54692172bc035a5810922b1634456e77
tree50b0c3dcf38ad6aba13cb4afe5d116bc3f2057d9
parent68f248879cb15562c7b026445f83caf8f2842ae9
Mathias Fröhlich:

I believe I have found the agl hud problems as well as the 'hole' in the
carrier's deck. I spent half the day to reproduce that problem, it did not
occure when you start on the carrier not does it occure with JSBSim and my
really often used testaircraft. So I really need to improove my helicopter
flying qualities.

I was under the impression that *all* FDM's call

FGInterface::updateGeo*Position(..)

so set the new position in the FDM interface. Therefore I had added at the
some code that updates the scenery elevation below the aircraft to *those*
functions.
Ok, not all FDM's do so :/

The attached patch factors out a function computing the scenery altitude at
the current FDM's position. This function is also used in those FDM's which
need to update this value themselves.
Also this patch restores the nearplane setting and uses the current views
altitude instead of the current aircrafts. I think that this should further
be changed to the eypoint's agl in the future.
The agl is again ok in YASim's hud.
configure.ac
src/FDM/MagicCarpet.cxx
src/FDM/SP/ACMS.cxx
src/FDM/UFO.cxx
src/FDM/YASim/YASim.cxx
src/FDM/flight.cxx
src/FDM/flight.hxx
src/Main/renderer.cxx