Durk Talsma [Mon, 3 Jan 2011 08:59:48 +0000 (09:59 +0100)]
Traffic tools. Conversion scripts to convert between xml and plain text format. Initial version of conf2xml.pl by me. Updated and modified by Mike Nieber. xml2conf.pl by Mike Nieber.
The apt.dat file contains inconsistent case for many airport name abbreviations,
e.g. MUNI/Muni and intl/Intl. Evaluate the abbreviations in lower-case when
expanding them in order to avoid missing any.
Dave Luff [Thu, 30 Dec 2010 13:27:57 +0000 (13:27 +0000)]
ATIS fixes/refactoring from John Denker
Some fixes, and refactoring of the lexicon and abbreviation remapping
into headers where it can be picked up by the scripts that generate
the voice files.
Dave Luff [Wed, 29 Dec 2010 18:52:39 +0000 (18:52 +0000)]
More fixes to the ATCDCL & ATC compilation
Rename ATC/atis.[ch]xx to ATC/atis_mgr.[ch]xx, to avoid confusingly
having 2 atis.cxx and 2 atis.hxx in the source tree. Also fix a copy
and paste error in src/ATCDCL/CMakeLists.txt.
Dave Luff [Tue, 28 Dec 2010 18:08:41 +0000 (18:08 +0000)]
Remove conditional compilation of ATCDCL
This patch removes the conditional compilation of ATCDCL, compiling both
the old and new ATC systems. The old system only provides ATIS, AWOS and
some dialog lookups, and hence should not conflict with the new system.
Dave Luff [Sun, 26 Dec 2010 23:19:57 +0000 (23:19 +0000)]
Fix up some include paths in main.cxx
Don't include legacy ATCmgr.hxx when it is not compiled (default).
Do include 3 paths that are necessary for main, but were only picked
up indirectly through the legacy ATC code.
Tim Moore [Sat, 25 Dec 2010 23:44:02 +0000 (00:44 +0100)]
cmake changes for osg::CullSettings::ClearMask and Fedora
HAVE_CULLSETTINGS_CLEAR_MASK was not set, so a program to test
CLEAR_MASK was added. The Posix timer function clock_gettime is in
librt on Fedora, and probably on other systems too.
Torsten Dreyer [Wed, 22 Dec 2010 07:34:44 +0000 (08:34 +0100)]
Bugfix: Immediately fetch METAR on reenabling of "Live data"
If "Live data" was disabled in any way in the global-weather dialog
and reenabled later, the next metar fetch occoured only after up
to 15 minutes after the report expired. This patch triggers triggers
an immediate fetch of a metar after enabling live data.
Torsten Dreyer [Mon, 20 Dec 2010 20:07:59 +0000 (21:07 +0100)]
fog/misg/haze: tweak layer's top and limit to 2d-clouds
For the time being, this works only with 3d clouds disabled.
When enabled, limit the top of the misty layer to the bottom of
a possible cloudlayer above.
Curtis L. Olson [Mon, 20 Dec 2010 18:20:57 +0000 (12:20 -0600)]
Add a small bit of nan/fpe protection. It's possible that this routine
could be called with a zero dt which would then lead to a divide by zero
error if we ran through all the computations.
ThorstenB [Sat, 11 Dec 2010 11:37:39 +0000 (12:37 +0100)]
fix NAV receiver vs GPS bugs
Allow switching off slaved-to-gps (resynch NAV radio/update all NAV outputs)
Allow tuning NAV stations and keep DME alive when slaved to GPS
Clear station ID and heading when loosing NAV signal
ThorstenB [Sun, 5 Dec 2010 20:26:51 +0000 (21:26 +0100)]
Avoid exceptions in route manager module.
Avoid segfaults in gps when route manager doesn't throw exceptions.
Minor fix when removing waypoints by negative index.
ThorstenB [Sun, 5 Dec 2010 19:35:21 +0000 (20:35 +0100)]
fix bug #177: crash caused by route manager/gps/navradio
Uninitialized variables were sources for NaN values.
Once NaNs are passed to Nasal (through (tied) properties), these cause
a crash. Nasal cannot handle NaNs - it interprets these as pointer values...
Dave Luff [Sun, 5 Dec 2010 10:57:36 +0000 (10:57 +0000)]
KLN89: Fix ARINC 424 loader for airports with parallel runways.
To load approach data into the KLN89, drop an ARINC 424 format file
named "rnav.dat" into the data/Navaids directory. The loader has
been tested on the 424-18 data revision, so may need tweaking for
the latest data. Currently about 97% of the listed US non-precision
approaches are loaded, the majority of the failures appear to be due
to 1-digit runway code offsets between the flightgear airport data
and the ARINC data due to magnetic variation changes.
Dave Luff [Sat, 4 Dec 2010 16:55:26 +0000 (16:55 +0000)]
KLN89: Remove hardwired instrument approach, and add initial support for loading non-precision approaches from ARINC 424 format data. Currently fails on airports with multiple parallel runways.