Torsten Dreyer [Wed, 19 Jan 2011 18:36:04 +0000 (19:36 +0100)]
Fix bug #253, at least partially
make options
--wind=nnn@mm
--visibility
--visibility-miles
--ceiling
--turbulence
work again. These options now write properties in the
/environment/config/presets
branch. The values will be applied in the property-rules
in FGDATA/Environment/interpolator.xml
John Denker [Mon, 30 Nov 2009 10:19:17 +0000 (03:19 -0700)]
Fix ADF bugs ... including still driving the needle when power off.
ADF bug fixes from John Denker. Changes from current behaviour are:
* Include the power button in the electrical checks
* Raise the required input voltage from 1V to 8V
* Don't reset the heading to 90 degrees when out of range or no power
(heading is now only reset to 90 in ANT or TEST mode)
ThorstenB [Sat, 8 Jan 2011 20:38:26 +0000 (21:38 +0100)]
Enable AI traffic for offline users and issue #248
- #248: new enable/disable-ai-traffic command-line option
- AI traffic: don't wait for METAR when real-wx-fetch disabled, to
enable AI traffic when running offline
Torsten Dreyer [Fri, 7 Jan 2011 12:11:06 +0000 (13:11 +0100)]
METAR: enable reports from multiple stations
This patch enables multiple MetarProperties instances tied to the
property tree. For each node's value of /environment/realwx/metar
one MetarProperties instance is created and tied to the property
tree named there. (See FGDATA/Environment/environment.xml for details)
At least one instance will be created to provice backward compatibility
to the existing live-data weather system. This instance (tied to
/environment/metar) fetches a METAR for the nearest airport at a regular
schedule. All other instances fetch a report for airports named in the
property station-id. It re-reads the report every 15 minutes, the
remaining time until the next fetch will be scheduled is in the property
time-to-live. This property can be written to, to extend the live of
this report or schedule an immediate reload by setting it's value to zero.
This patch also provides magnetic variation for the station's location.
Dave Luff [Wed, 5 Jan 2011 00:32:21 +0000 (00:32 +0000)]
ATIS: revert to using inches globally by default.
Revert to using inches globally by default, unless the user sets the
property /sim/atc/use-millibars. Whilst this is therefore wrong by
default, it is probably the best thing in the short term since
FlightGear's altimeter dialog and the altimeters on the default
aircraft set using inches.
Dave Luff [Wed, 5 Jan 2011 00:27:18 +0000 (00:27 +0000)]
ATIS improvements from John Denker
Primarily an improvment to the internationalisation. Previously the ATIS considered
the world as either the UK or the rest of the world. Now it considers it as US+Canada
or the rest of the world. This is much more consistent with global usage of pressure
units as either inches or millibars, which is the most important difference. Also
some other tweaks and cleanups.
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.