]> git.mxchange.org Git - flightgear.git/log
flightgear.git
19 years agoMelchior FRANZ:
ehofman [Thu, 20 Jan 2005 09:28:45 +0000 (09:28 +0000)]
Melchior FRANZ:

The following patches to SimGear & FlightGear ...

- create an FGMetar abstraction layer, whose purpose is:
  * provide defaults for unset values
  * interpolate/randomize data (GREATER_THAN)
  * derive additional values (time, age, snow cover)
  * consider minimum identifier (CAVOK, mil. color codes)
- add rain/hail/snow/snowcover support on the METAR side
- add max age of METAR data handling (currently set to
- add support for an external METAR cache proxy server
- add CAVOK handling
- set missing year/month in regular METAR messages
- fix a small bug in metar.cxx (wrong return value)

19 years agoUse the proper include definition.
ehofman [Thu, 20 Jan 2005 09:22:38 +0000 (09:22 +0000)]
Use the proper include definition.

19 years agoMAcOS X fix.
ehofman [Thu, 20 Jan 2005 08:42:53 +0000 (08:42 +0000)]
MAcOS X fix.

19 years agoInitial revision.
curt [Wed, 19 Jan 2005 22:52:34 +0000 (22:52 +0000)]
Initial revision.

19 years agoReady for v0.9.8.
curt [Wed, 19 Jan 2005 02:11:52 +0000 (02:11 +0000)]
Ready for v0.9.8.

19 years agoAdd some formated frequency outputs to aid panel builders.
curt [Wed, 19 Jan 2005 02:11:28 +0000 (02:11 +0000)]
Add some formated frequency outputs to aid panel builders.

19 years agoThrow an exception when no valid scenery path defined.
curt [Mon, 17 Jan 2005 22:10:53 +0000 (22:10 +0000)]
Throw an exception when no valid scenery path defined.

19 years agoRemove gif support, add png support.
curt [Mon, 17 Jan 2005 20:14:55 +0000 (20:14 +0000)]
Remove gif support, add png support.
Don't overzoom large version of images.

19 years agoRemove unneeded #include's
curt [Mon, 17 Jan 2005 13:39:00 +0000 (13:39 +0000)]
Remove unneeded #include's

19 years ago... and make sure the number can actually be negative.
ehofman [Mon, 17 Jan 2005 10:48:35 +0000 (10:48 +0000)]
... and make sure the number can actually be negative.

19 years agoOops, don't forget that the axisnumber can actually be 0
ehofman [Mon, 17 Jan 2005 10:46:39 +0000 (10:46 +0000)]
Oops, don't forget that the axisnumber can actually be 0

19 years agoSilently ignore platforms that are not specified within the <number></number> section
ehofman [Mon, 17 Jan 2005 10:39:55 +0000 (10:39 +0000)]
Silently ignore platforms that are not specified within the <number></number> section

19 years agoChange debug level: try --log-level=debug and you see why (takes very, very, *very...
ehofman [Sat, 15 Jan 2005 14:25:58 +0000 (14:25 +0000)]
Change debug level: try --log-level=debug and you see why (takes very, very, *very* long to output all 21.000 airports that way).

19 years agoAdd support for contrast.
ehofman [Fri, 14 Jan 2005 15:53:13 +0000 (15:53 +0000)]
Add support for contrast.

19 years agoOops, remove some extra code.
ehofman [Fri, 14 Jan 2005 14:29:46 +0000 (14:29 +0000)]
Oops, remove some extra code.

19 years agoFirst draft of a utility to generate normal maps from a regular texture.
ehofman [Fri, 14 Jan 2005 14:29:08 +0000 (14:29 +0000)]
First draft of a utility to generate normal maps from a regular texture.

19 years agoTie the Scenery loader thread and the real weather fetching thread to CPU1 (if suppor...
ehofman [Sun, 9 Jan 2005 10:27:01 +0000 (10:27 +0000)]
Tie the Scenery loader thread and the real weather fetching thread to CPU1 (if supported).

19 years agoA couple minor tweaks to the replay subsystem to allow "pausing" the replay.
curt [Wed, 5 Jan 2005 05:45:38 +0000 (05:45 +0000)]
A couple minor tweaks to the replay subsystem to allow "pausing" the replay.

19 years agoDefault KT-70 to serviceable = true.
curt [Wed, 5 Jan 2005 04:15:19 +0000 (04:15 +0000)]
Default KT-70 to serviceable = true.

19 years agoAdd cht (cylinder head temp) and tit (turbine inlet temp) to net_fdm.hxx
curt [Wed, 5 Jan 2005 03:43:05 +0000 (03:43 +0000)]
Add cht (cylinder head temp) and tit (turbine inlet temp) to net_fdm.hxx

19 years agoA quick fix to avoid breaking non-unix-ish platforms.
curt [Tue, 4 Jan 2005 22:45:08 +0000 (22:45 +0000)]
A quick fix to avoid breaking non-unix-ish platforms.

19 years agoUpdates for the 0.9.8-pre2 release.
curt [Mon, 3 Jan 2005 20:06:51 +0000 (20:06 +0000)]
Updates for the 0.9.8-pre2 release.

19 years agoFix a mistake in handling of engine starter property names.
curt [Mon, 3 Jan 2005 03:20:31 +0000 (03:20 +0000)]
Fix a mistake in handling of engine starter property names.

19 years agoInitialize the timer countdown value since this could conceivably start as
curt [Mon, 3 Jan 2005 00:16:16 +0000 (00:16 +0000)]
Initialize the timer countdown value since this could conceivably start as
any randomly large number (thus preventing the first station seach from
happening at least for a very long time.)

19 years agoFix some property names.
curt [Thu, 30 Dec 2004 21:49:53 +0000 (21:49 +0000)]
Fix some property names.

19 years agoSwitch from bool to int for more deterministic structure packing.
curt [Thu, 30 Dec 2004 20:49:31 +0000 (20:49 +0000)]
Switch from bool to int for more deterministic structure packing.

19 years agoFix several typos (first time this has been tested since radio/instrumentation
curt [Thu, 30 Dec 2004 20:48:54 +0000 (20:48 +0000)]
Fix several typos (first time this has been tested since radio/instrumentation
rewrite.)

19 years agoRemove extraneous property.
curt [Thu, 30 Dec 2004 20:48:09 +0000 (20:48 +0000)]
Remove extraneous property.

19 years agoVarious tweaks to ATC Flight Sim hardware inputs/outputs.
curt [Thu, 30 Dec 2004 14:57:58 +0000 (14:57 +0000)]
Various tweaks to ATC Flight Sim hardware inputs/outputs.

19 years agoAdd back power button binding, but move the location to /instrumentation/nav
curt [Thu, 30 Dec 2004 14:57:12 +0000 (14:57 +0000)]
Add back power button binding, but move the location to /instrumentation/nav
rather than /instrumentation/comm ... we need to be a little careful here
because typically, a single knob controls power to both matched com/nav pairs.

19 years agoFGIO::shutdown_all() is called from the FGIO destructor so remove the extra
curt [Wed, 29 Dec 2004 20:40:41 +0000 (20:40 +0000)]
FGIO::shutdown_all() is called from the FGIO destructor so remove the extra
explicit calls to shutdown_all() which was causing this to be called twice.
This could cause problems with some IO modules (such as attempting to close
an invalid file descriptor the second time.)

19 years agoFGIO::shutdown_all() is called from the FGIO destructor so we don't want
curt [Wed, 29 Dec 2004 20:38:17 +0000 (20:38 +0000)]
FGIO::shutdown_all() is called from the FGIO destructor so we don't want
a seperate explicite call or the io channels will be forced to try to shutdown
twice which could cause problems for some IO modules (i.e. attempting to
close an invalid file descriptor the second time ...)

19 years agoRemove an unused Makfefile
ehofman [Tue, 28 Dec 2004 10:18:51 +0000 (10:18 +0000)]
Remove an unused Makfefile

19 years agoMake sure the ATIS reports surface winds at airports above sea-level
daveluff [Mon, 27 Dec 2004 23:55:54 +0000 (23:55 +0000)]
Make sure the ATIS reports surface winds at airports above sea-level

19 years agoDurk Talsma:
ehofman [Mon, 27 Dec 2004 17:35:22 +0000 (17:35 +0000)]
Durk Talsma:

Fix a couple of places that were not yet using SGPath

19 years agoMathias Fröhlich:
ehofman [Mon, 27 Dec 2004 13:21:18 +0000 (13:21 +0000)]
Mathias Fröhlich:

We should now be able to find
wires or catapults when the ac3d model is loaded without the crease patch
(caused by the much more unstructured scene graph emitted by the old loader).
It should also emit more warnings if the carrier hardware configuration
includes conflicting definitions.
That code is the most intrusive one, it should not be used until you configure
an aircraft carrier as a aimodel. So I think it should be save to apply that
before the release too.

19 years agoRemove some stale cout commands.
ehofman [Mon, 27 Dec 2004 13:19:28 +0000 (13:19 +0000)]
Remove some stale cout commands.

19 years agoMake yasim accept the launchbar and hook properties. They are not tied to anything...
ehofman [Mon, 27 Dec 2004 13:18:29 +0000 (13:18 +0000)]
Make yasim accept the launchbar and hook properties. They are not tied to anything yet though.

19 years agoDavid Luff:
curt [Sun, 26 Dec 2004 23:31:35 +0000 (23:31 +0000)]
David Luff:

Attached is a patched runways.cxx.  This fixes the find runway nearest to a given heading code.  This was returning the last runway loaded at a given airport, not the nearest runway to the heading requested (which seems to always be 270deg by default).  I have no idea how this has survived unnoticed for so long - I think it might be because you need to start at an airport with a runway near to 27 and one much greater than 27 eg. 36 to really tickle it, otherwise the runway nearest to 27 tends to be the final one loaded anyway.  Try starting at KARR with and without the patch and note the surface wind.  This should go in before the release.

19 years agoChanges to correspond with ATC hardware code changes.
curt [Fri, 24 Dec 2004 02:16:05 +0000 (02:16 +0000)]
Changes to correspond with ATC hardware code changes.

19 years agoMore work on the ATC FS hardware interface.
curt [Fri, 24 Dec 2004 01:23:27 +0000 (01:23 +0000)]
More work on the ATC FS hardware interface.

19 years agoReplace the data/Airports/basic.dat.gz and data/Airports/runways.dat.gz with
curt [Wed, 22 Dec 2004 23:57:07 +0000 (23:57 +0000)]
Replace the data/Airports/basic.dat.gz and data/Airports/runways.dat.gz with
a single apt.dat.gz file which is in the native X-Plane format.

To do this I wrote a front end loader than builds the airport and runway
list.  Some of the changes I needed to make had a cascading effect, so there
are minor naming changes scattered throughout the code.

19 years agoUpdates for upcoming 0.9.8 release.
curt [Tue, 21 Dec 2004 23:15:07 +0000 (23:15 +0000)]
Updates for upcoming 0.9.8 release.

19 years agoUpdates in preparation for the 0.9.8 release.
curt [Tue, 21 Dec 2004 00:16:06 +0000 (00:16 +0000)]
Updates in preparation for the 0.9.8 release.

19 years agogcc 2.95 fix?
ehofman [Mon, 20 Dec 2004 08:36:56 +0000 (08:36 +0000)]
gcc 2.95 fix?

19 years agoFix a property path.
ehofman [Sun, 19 Dec 2004 14:32:39 +0000 (14:32 +0000)]
Fix a property path.

19 years agogcc 4.0 fixes.
ehofman [Sat, 18 Dec 2004 11:59:33 +0000 (11:59 +0000)]
gcc 4.0 fixes.

19 years agoMathias Fröhlich:
ehofman [Sat, 18 Dec 2004 10:33:36 +0000 (10:33 +0000)]
Mathias Fröhlich:

I have a small update which fixes the algorythm used for marking solid
surfaces for some cases where some branch nodes carry the object names I had
expected in the leaf nodes.
That will also introduce the possibility to mark whole subtrees from the
scenegraph solid.

19 years agoA small FreeBSD update.
ehofman [Fri, 17 Dec 2004 20:01:13 +0000 (20:01 +0000)]
A small FreeBSD update.

19 years agothread detection code cleanup and (hopefuly) FreeBSD fixes.
ehofman [Fri, 17 Dec 2004 14:48:14 +0000 (14:48 +0000)]
thread detection code cleanup and (hopefuly) FreeBSD fixes.

19 years agoMake sound audiable not until after the scenery is loaded.
ehofman [Thu, 16 Dec 2004 13:19:01 +0000 (13:19 +0000)]
Make sound audiable not until after the scenery is loaded.

19 years agoSync. w. JSBSim CVS
ehofman [Thu, 16 Dec 2004 12:47:20 +0000 (12:47 +0000)]
Sync. w. JSBSim CVS

19 years agoFix a typo
ehofman [Thu, 16 Dec 2004 08:52:12 +0000 (08:52 +0000)]
Fix a typo

19 years agoSupport for a new "contra" attribute on propellers, which properly
andy [Mon, 13 Dec 2004 23:48:43 +0000 (23:48 +0000)]
Support for a new "contra" attribute on propellers, which properly
models them as contra-rotating pairs.

19 years agoMathias Fröhlich:
ehofman [Wed, 8 Dec 2004 14:48:06 +0000 (14:48 +0000)]
Mathias Fröhlich:

I still work on getting the YASim models see the detailed environment
especially the carrier.

I have *forgotten* to initialize and to destruct the ground cache object!
Oooopppss!

19 years agoMelchior FRANZ:
ehofman [Wed, 8 Dec 2004 14:45:47 +0000 (14:45 +0000)]
Melchior FRANZ:

The attached patch allows to put comments in *.stg files[1]. Lines with
# in the first column (and only there!) are skipped. This has no effect
on overall performance, but has two advantages:

A) possibility to temporarily comment out objects during scenery design,
   (or to put other remarks there);

B) possibility to put marks like "# BEGIN" and "# END" there that allow
   automated merging of local landmarks etc.

--

[1] actually, comments are possible now, too. But they aren't explicitly
    handled and fgfs tries to parse words in "comments" piece by piece. Ugly!

[2] Idea by Chris METZLER, that I make already use of. I have a local
    scenery dir for some tiles with extra objects, such as VOR/DME for
    all of Austria. These are surrounded by "# BEGIN LOCAL" and "# END LOCAL",
    and today I was able to merge the new 0.9.7 scenery with my locally
    changed files.   :-)

19 years agoMSVC fix
ehofman [Sun, 5 Dec 2004 09:34:03 +0000 (09:34 +0000)]
MSVC fix

19 years agoUpdate to point to a more generic/current location by default.
curt [Sun, 5 Dec 2004 01:16:35 +0000 (01:16 +0000)]
Update to point to a more generic/current location by default.

19 years agoA couple more straggling instrumentation clean ups.
curt [Sun, 5 Dec 2004 01:04:32 +0000 (01:04 +0000)]
A couple more straggling instrumentation clean ups.

19 years agoA few more radios -> instrumentation name changes thanks to Melchior for
curt [Sat, 4 Dec 2004 21:06:57 +0000 (21:06 +0000)]
A few more radios -> instrumentation name changes thanks to Melchior for
catching these.

19 years agoCreate the nodes these modules use if they don't exist already, otherwise
curt [Fri, 3 Dec 2004 21:49:21 +0000 (21:49 +0000)]
Create the nodes these modules use if they don't exist already, otherwise
we will segfault when we try to use them later in the routine.

19 years agoRoy Vegard Ovesen:
curt [Fri, 3 Dec 2004 21:21:16 +0000 (21:21 +0000)]
Roy Vegard Ovesen:

I've finished the emigration of the radiostack, and I've also removed it
completely. It turned out that the comm radio is completely implemented in
the ATC subsystem. I've changed the affected ATC files to point
to /instrumentation/com, but I guess that the maintainer of the ATC code
should decide wether to make it configureable, and how.

I also had to change some files in Network and Main. The changes in network
should be obvious, but the changes in Main were a bit suspect. The files
included radiostack.hxx, but they weren't directly depending on
radiostack-hxx. They were depending on other files that were included by
radiostack.hxx. I got it to compile, but I'm not sure if I included the
correct directly depending file.

For the data directory I changed every occurrence of /radios/
with /instrumentation/ with this simple one-liner that I found on the net:

find -name '*.xml' -type f | xargs perl -pi -e
's/\/radios\//\/instrumentation\//g'

Instead of me sending all the files that got changed by this I suggest that
you execute the one-liner yourself. Of course I can not guarantee that this
will work perfectly, but I considered hand editing to be not an option (I'm
lazy). I don't want to test every aircraft to see if everything still works,
I think it's better to wait and see if anyone complaints about broken nav
radios/instruments.

19 years agoVivian Meazza:
ehofman [Tue, 30 Nov 2004 12:34:11 +0000 (12:34 +0000)]
Vivian Meazza:

This is a sub-system which can be added to any carrier.

These files add a functioning Fresnel Lens Optical Landing System (FLOLS).
The orange/red 'source' lights are illuminated according to the position of
the pilot's eye above/below the 3.5 deg glide slope. The apparent position
of the source light relative to the fixed green datum lights allow the pilot
to 'fly the meatball'. The green 'cut' lights flash when the pilot's eye is
below the coverage of the lowest (red) source light.

TODO - add rules for the operation of the wave-off lights.

19 years agoMelchior FRANZ:
ehofman [Tue, 30 Nov 2004 12:14:17 +0000 (12:14 +0000)]
Melchior FRANZ:

I understand that the new hud/runway feature is still very experimental,
and that the search criteria for the active runway don't necessarily make
much sense. (We are searching for a runway on /sim/presets/airport-id
that matches the current wind direction best, and not the tuned in ILS
runway or something!)

Anyway: the new hud code completely denies the possibility of
globals->get_runways()->search() not finding a runway and returning false.
There's always a runway found at KSFO, but not so at e.g. LOXL, in which
case we are handing garbage over to sg_geodesy.cxx and find ourselves
caught in an endless loop in geo_direct_wgs_84().

19 years agoDurk Talsma:
ehofman [Mon, 29 Nov 2004 09:41:43 +0000 (09:41 +0000)]
Durk Talsma:

Okay, here's the latest update to the tarffic manager/AI Manager. AITraffic
can now fly multiple routes and be initialized while sitting statically at
airports.

19 years agoPatch from Robert Swam to block enabling stencil at 16 bpp for glut
david [Mon, 29 Nov 2004 03:17:19 +0000 (03:17 +0000)]
Patch from Robert Swam to block enabling stencil at 16 bpp for glut
(allowing FlightGear to work at 16 bpp again for glut users).

19 years agoMathias Fröhlich:
ehofman [Fri, 26 Nov 2004 10:24:48 +0000 (10:24 +0000)]
Mathias Fröhlich:

This patch makes the aircraft carrier's hardware  appear in the scenegraph.

19 years agoAdd a *really* crude model of ITT, Oil Temp, and Oil Pressure. This
curt [Tue, 23 Nov 2004 21:35:30 +0000 (21:35 +0000)]
Add a *really* crude model of ITT, Oil Temp, and Oil Pressure.  This
currently just returns a lagged normalized value in the range of 0-1 that
is proportional to N1.  It's up to the engine gauge to scale to the right
range.  This is for lack of a real model of these items so we can have
something to drive the engine gauges.

19 years agoMathias Fröhlich:
ehofman [Mon, 22 Nov 2004 10:10:33 +0000 (10:10 +0000)]
Mathias Fröhlich:

I have now split out the ground cache functions into src/FDM/groundcache.[ch]xx
Attached are the two files and the patch to integrate that cache into
FGInterface.

The code is nowhere used at the moment, the fdm's need to be updated to use
that ground cache. The JSBSim-dropin.tar.gz from Martins ftp server does this
for example.

The carrier's scenegraph is not yet processed to be visible for ground
intersection testing. So the only benefit up to now is that the api is set
up. Using this I can put the changes to make JSBSim work with that into
JSBSim's cvs. Also I aim to provide Andy a patch to make use of that with
YASim.

19 years agoMore FreeBSD fixes ... add -lusbhid where needed.
curt [Sun, 21 Nov 2004 03:15:19 +0000 (03:15 +0000)]
More FreeBSD fixes ... add -lusbhid where needed.

19 years agoMelchior FRANZ:
ehofman [Sat, 20 Nov 2004 13:04:26 +0000 (13:04 +0000)]
Melchior FRANZ:

Use a suggested exit method as described in the SDL_Quit man page. (fgOSExit() is still uncalled in both fg_os.cxx (glut) and fg_os_sdl.cxx, which makes these functions kind-of useless.) The other changes are fixes for gcc 3.3.4 warnings.

19 years agoMacOS X fix.
ehofman [Sat, 20 Nov 2004 12:47:42 +0000 (12:47 +0000)]
MacOS X fix.

19 years agoAdd some missing bits from Mathias' carrier code.
ehofman [Sat, 20 Nov 2004 12:44:42 +0000 (12:44 +0000)]
Add some missing bits from Mathias' carrier code.

19 years agoVarious property name changes relating to moving the kr-87 adf to
curt [Fri, 19 Nov 2004 23:56:12 +0000 (23:56 +0000)]
Various property name changes relating to moving the kr-87 adf to
/instrumentation

19 years agoRoy Ovesen: remove src files from Cockpit and move them over to Instrumentation.
curt [Fri, 19 Nov 2004 23:10:44 +0000 (23:10 +0000)]
Roy Ovesen: remove src files from Cockpit and move them over to Instrumentation.

19 years agoChanges by Roy Ovesen to begin migrating the avionics out of the Cockpit
curt [Fri, 19 Nov 2004 23:01:34 +0000 (23:01 +0000)]
Changes by Roy Ovesen to begin migrating the avionics out of the Cockpit
directory and over to the Instrumentation directory and make them modular
in the sense of being able to pick and choose what you include with any
particular aircraft.

19 years agoFix my mailing address by replacing it with my web page.
curt [Fri, 19 Nov 2004 22:10:41 +0000 (22:10 +0000)]
Fix my mailing address by replacing it with my web page.

19 years agoI have added Aaron Wilson's virtual 3d runway projection to the HUD.
curt [Fri, 19 Nov 2004 18:31:02 +0000 (18:31 +0000)]
I have added Aaron Wilson's virtual 3d runway projection to the HUD.
Aaron says:

I just got the virtual runway hud projection working on all views and
2D & 3D HUDs.  It is working awesome(see below).  I have attached every
file that was modified (hud.hxx, hud.cxx, and the default.xml for the hud)
and every file that was added (hud_rwy.cxx and runwayinstr.xml).

Just a quick overview of how the instrument works.

The virtual runway is projected by getting the "cockpit view" of the
runway in 3D and projecting the points on to the 2D HUD.  Therefore, the
virtual runway will be displayed the same in every view.  For example,
you can land an aircraft from the "Tower View" by flying the HUD.  Also
if you're in "Cockpit View" and it is centered then the virtual runway
lines will perfectly outline the actual runway.  I am getting the active
runway via the wind like done in the ATC classes, which may need changed.
Also, I made the assumption the view 0, in view manager, is always the
cockpit view, which may need changed as well.

The runway configuration file will allow you to specify a center offset
(x,y) and a bounding box (width,height).  You can also configure the line
stipple pattern for the outside and the center line.  For instance, if
you wanted a 0xFAFA pattern, then specify 64250 as the value.  If you
want a solid line, you can specify -1 or 65535 (0xFFFF) and zero will
turn the line off.  It also draws a runway indication arrow when the
runway is not in the HUD or it can be drawn all the time if arrow_always
is true.  The arrow will point in the direction of the runway (2D) by
rotating around the center  at a radius of arrow_radius.  If you wish to
turn the arrow off, you must set the arrow_scale <=0.  The arrow really
should be 3D arrow that points to the runway (or points in the direction
of the aircraft-to-runway vector).

19 years agoMathias FröhlichMathias Fröhlich:
ehofman [Fri, 19 Nov 2004 12:33:53 +0000 (12:33 +0000)]
Mathias FröhlichMathias Fröhlich:

Add some controls required for carrier operations:

/controls/gear/launchbar

should be 1.0 if the launchbar is lowered, that means the aircraft should now
be arrested at the catapult.

/controls/gear/catapult-launch-cmd

Should be set to 1.0 when the aircraft should be launched from tha catapult.

19 years agoMathias Fröhlich:
ehofman [Fri, 19 Nov 2004 12:33:08 +0000 (12:33 +0000)]
Mathias Fröhlich:

The moving ai models will jump around realtive to the moving aircraft model.
I can see that with the carrier but others have noticed that too with ai
aircraft before.
The reason is that all SGSystems are called with a dt value which is not
necessarily a multiple of 1/hz.
In contrast, most FDM's use the _calc_multiloop function from FGInterface
which forces the time update to be a multiple of 1/hz for the FDM aircraft.
As a result, in the worst case, the FDM aircraft has moved nearly 1/hz seconds
further than the rest of flightgear (1/120sec*300kts that is about 1.3m).
That patch forces the time update to be a multiple of 1/hz.

19 years agoMigrate FlightGear code to use "#include SG_GL*" defined in
curt [Thu, 18 Nov 2004 19:53:00 +0000 (19:53 +0000)]
Migrate FlightGear code to use "#include SG_GL*" defined in
"#include <simgear/compiler.h>".

19 years agoThis code is written on top of a driver interface only available with linux
curt [Thu, 18 Nov 2004 17:40:03 +0000 (17:40 +0000)]
This code is written on top of a driver interface only available with linux
(/proc file system) so it doesn't make sense to have other OS's trying to
open these files because they could never exist.

19 years ago- ATC-Inputs.cxx: Fix some portability problems for non-linux operating
curt [Thu, 18 Nov 2004 05:04:35 +0000 (05:04 +0000)]
- ATC-Inputs.cxx: Fix some portability problems for non-linux operating
  systems.  Fix a couple bugs/oversights.

- atc610x.cxx: Much code has moved into the configurable input mapper
  (ATC-Inputs.cxx) and the remaining input massaging code has moved into
  the atcsim.nas module.

19 years agoTweak the atcsim command line interface.
curt [Thu, 18 Nov 2004 05:01:19 +0000 (05:01 +0000)]
Tweak the atcsim command line interface.

19 years agoMinor white space fix.
curt [Thu, 18 Nov 2004 05:00:44 +0000 (05:00 +0000)]
Minor white space fix.

19 years agoAdd a local copy of the nasal documentation.
curt [Wed, 17 Nov 2004 02:54:04 +0000 (02:54 +0000)]
Add a local copy of the nasal documentation.

19 years agoGet rid of a stray character that must have introduced itself with my random
curt [Tue, 16 Nov 2004 19:48:42 +0000 (19:48 +0000)]
Get rid of a stray character that must have introduced itself with my random
keyboard fumbling.

19 years agoRemove some changes I had put in to make it compile. those are no longer needed.
ehofman [Tue, 16 Nov 2004 19:48:09 +0000 (19:48 +0000)]
Remove some changes I had put in to make it compile. those are no longer needed.

19 years agoBegin work on revamping the ATC hardware interface so it is infinitely more
curt [Tue, 16 Nov 2004 19:47:11 +0000 (19:47 +0000)]
Begin work on revamping the ATC hardware interface so it is infinitely more
configurable.

19 years agocommit some pending updates from Vivian
ehofman [Tue, 16 Nov 2004 09:33:21 +0000 (09:33 +0000)]
commit some pending updates from Vivian

19 years agoMelchior caught a missing return value that is now an error on newer gcc versions
andy [Mon, 15 Nov 2004 18:15:33 +0000 (18:15 +0000)]
Melchior caught a missing return value that is now an error on newer gcc versions

19 years agoRoy Vegard Ovesen:
ehofman [Sat, 13 Nov 2004 15:00:00 +0000 (15:00 +0000)]
Roy Vegard Ovesen:

We have decided that hardcoded initialization of instruments and systems is
bad. So we remove them.

Hardcoded initialization is bad because it can't be overridden from config
files or from the command line. We prefer to do it through config files that
should be, eventually, aircraft specific (*-set.xml), not global
(preferences.xml).

19 years agoVivian Meazza:
ehofman [Sat, 13 Nov 2004 14:45:57 +0000 (14:45 +0000)]
Vivian Meazza:

I attach the latest version  of Nimitz. The textures have been improved. A glide-path has been added, it is on by default, but can be switched off by means of the properties browser: /ai/models/ship/controls/glide-path. The origin has been adjusted to the turning pivot and approximate roll center.

Modified AiShip files are also attached. These allow the radius of the turning circle of a ship to be input. The turning circle is adjusted for speed and rudder angle. Roll has been corrected so that a ship leans out of a turn, not inwards like an aircraft. The roll angle is adjusted for speed and rudder angle (yes, application of more rudder reduces roll angle - rudders act as stabilizers).

TODO

Add a relative wind calculation so that a carrier can be turned to the appropriate launch and recovery courses.

Add a 'flight plan' so that the carrier can carry out a racetrack for flight ops.

Add a projector landing sight.

Add auto-land facilities.

19 years agoReverted last changes, because they caused needle flips near 0.
david [Wed, 10 Nov 2004 20:01:28 +0000 (20:01 +0000)]
Reverted last changes, because they caused needle flips near 0.

19 years agoMelchior FRANZ:
ehofman [Mon, 8 Nov 2004 17:41:30 +0000 (17:41 +0000)]
Melchior FRANZ:

The caption should already be set when the window is opened. This is
important for some window managers. (KDE's kwin, for example, can store
special settings for certain windows, such as "no border" and "always
on top". KDE uses the window title to determine if a special rule is
to be applied. KDE will be made more tolerant, too.)

19 years agoDavid Culp:
ehofman [Sun, 7 Nov 2004 14:46:21 +0000 (14:46 +0000)]
David Culp:

Here are files to get automated contrails working.  I've set up contrails for
the 737, using my simple, untextured contrail model.  Vivian has made another
contrail model, but I'm still trying to get his to work.  I'm hoping others
will try to make contrail models also.

Here's some code that defines a top to thermals.  When the top of a thermal is
reached the strength is phased-out linearly over the next 100 feet of
altitude.  At first I tried just capping the thermal at the top, but the
change in thermal strength was too fast for the FDM to handle well.

Included is a new version of the thermal scenario that includes a top
(height-msl) to the thermal.  The default value is 5000 feet.

19 years agoMSVC fix.
ehofman [Sun, 7 Nov 2004 14:23:48 +0000 (14:23 +0000)]
MSVC fix.

19 years agoUse angular momentum so that the compass can overshoot and oscillate
david [Sat, 6 Nov 2004 16:23:18 +0000 (16:23 +0000)]
Use angular momentum so that the compass can overshoot and oscillate
before settling.

19 years agoFixed typo that prevented DME groundspeed display.
david [Sat, 6 Nov 2004 16:22:17 +0000 (16:22 +0000)]
Fixed typo that prevented DME groundspeed display.

19 years agoMinor code clean-up.
david [Sat, 6 Nov 2004 16:21:41 +0000 (16:21 +0000)]
Minor code clean-up.