]> git.mxchange.org Git - flightgear.git/commit
#769: fix glideslope reception
authorThorstenB <brehmt@gmail.com>
Mon, 18 Jun 2012 20:57:22 +0000 (22:57 +0200)
committerThorstenB <brehmt@gmail.com>
Mon, 18 Jun 2012 20:57:22 +0000 (22:57 +0200)
commitaabea95d19b6d575600ee0fdddec19b4b023c7f0
tree76c06cdae4a762506a727cd522b5e73e0036cb58
parenta8fbfb17b422c8dc586f53aae4ca4859b67a2e98
#769: fix glideslope reception
The glideslope station was only searched once whenever the NAV station
changed. However, sometimes a mismatching G/S station is found, since
another G/S station is still closer when the NAV station changes.
When this happened, the G/S station was never updated again (while the
NAV station stayed in range), resulting in the NAV receiver providing
correct localizer, but bad G/S data (data matching another, remote station).
Issue is fixed by alternating between searching NAV and G/S stations.
src/Instrumentation/navradio.cxx
src/Instrumentation/navradio.hxx
src/Navaids/navlist.cxx
src/Navaids/navlist.hxx