1
0
Fork 0
flightgear/src/Navaids
curt 5df9811576 I found 3 problems with the GS modeling in flightgear (all my fault originally
I believe.) :-)

- The height of the navaid was not being properly converted to meters
  before being used in our internal calculations.  This caused the GS
  to be placed too high.

- I was using the wrong trig function to calculate the current approach
  angle of the aircraft.  The distance to the GS source is the euclidean
  point to point distance and represents the hypotenuse (not the ground
  distance) so I need to use asin() rather than atan() to calculate the
  angle.

- I was calculating distance directly to the GS source, rather than
  taking into consideration that the GS transmitter projects a plane,
  so I need to take the distance to the line where that plane intersectso
  the ground.  Previously, the way I modeled my distance calculation, the
  GS transmitter effectively formed a 3 degree cone from the source.  The GS
  transmitter is usually placed a 100 meters or so off the runway edge so
  the cone model could never bring you in to the touch down point precisely.

With these changes, the GS will bring you in precisely to the touchdown
point as defined in the default.ils.gz file (it wouldn't before.)  The only
issue that remains is that it will bring you in to the elevation defined
in the ILS database, which doesn't necessarily match the DEM/SRTM terrain
at that point.  Still on average, this will be a big improvement until we
can do a better job of getting the runway end elevations nailed correctly.
2003-03-31 01:29:23 +00:00
..
.cvsignore -Removed .cvsignore from itself, since .cvsignore is now in the CVS 2001-12-12 04:15:23 +00:00
fix.hxx Patches from Erik Hofman for SGI compatibility: 2002-12-31 18:26:02 +00:00
fixlist.cxx Add support for in-air preset starts relative to a VOR, NDB, or Fix. 2003-01-05 00:10:36 +00:00
fixlist.hxx Add support for in-air preset starts relative to a VOR, NDB, or Fix. 2003-01-05 00:10:36 +00:00
ils.hxx I found 3 problems with the GS modeling in flightgear (all my fault originally 2003-03-31 01:29:23 +00:00
ilslist.cxx Oops, sorry, nothing more to see here, move right along ... 2003-02-04 17:22:00 +00:00
ilslist.hxx Updated FGILSList api to better match the FGNavList api. 2003-02-03 20:05:27 +00:00
Makefile.am Tidy up the autoconf/automake configuration a bit. 2002-08-25 19:40:04 +00:00
mkrbeacons.cxx Put blinking marker beacon (bool) into the property registry for use by the 2001-03-29 06:05:01 +00:00
mkrbeacons.hxx - Removed redundant FG*:: qualifications from class members 2002-02-15 22:00:49 +00:00
nav.hxx Refactored some of the navlist code and removed the built in "fail to find" 2003-01-25 20:45:39 +00:00
navlist.cxx Updated FGILSList api to better match the FGNavList api. 2003-02-03 20:05:27 +00:00
navlist.hxx Refactored some of the navlist code and removed the built in "fail to find" 2003-01-25 20:45:39 +00:00
testnavs.cxx Updated FGILSList api to better match the FGNavList api. 2003-02-03 20:05:27 +00:00