]> git.mxchange.org Git - flightgear.git/commit
Curt Olson:
authorcurt <curt>
Fri, 28 May 2004 16:24:43 +0000 (16:24 +0000)
committercurt <curt>
Fri, 28 May 2004 16:24:43 +0000 (16:24 +0000)
commita3cde21637df5058d460d5786c365eeb949fee16
treeb1998105bc1e745602142d63f5c019794ba67aa8
parent70a6f2c014bda56aeecc8f1681f82f1ac25225f3
Curt Olson:

These change add some code that at initialization time will snap all
localizers into perfect alignment with their runways.  It's my experience
that the DAFIF/FAA data reports runway and localizer headings to a level
of precision that is great for making charts, or adjusting your OBS, etc.
But the level of precision of this data can be far enough off to make you
visibly *un*aligned with the runway when the CDI needle is centered.

There are probably cases where the localizer isn't really perfectly
aligned with the runway, or intentionally misaligned to avoid obstacles
or terrain.  So I have made this configurable for those that trust the
data more than I do.  Just set "/sim/navdb/auto-align-localizers" to
true/false in the preferences file to turn this feature on or off in the
code.
src/Airports/runways.cxx
src/Main/fg_init.cxx
src/Navaids/navdb.cxx
src/Navaids/navdb.hxx
src/Navaids/navlist.hxx
src/Navaids/navrecord.hxx