]> git.mxchange.org Git - flightgear.git/log
flightgear.git
23 years agoMake FGViewer::update() a pure virtual because FGViewer is a base class
curt [Thu, 31 May 2001 04:25:43 +0000 (04:25 +0000)]
Make FGViewer::update() a pure virtual because FGViewer is a base class
and can never be instantiated itself.

23 years agoWe don't need to explicitely #include <glext.h> since gl.h should do this
curt [Wed, 30 May 2001 20:58:02 +0000 (20:58 +0000)]
We don't need to explicitely #include <glext.h> since gl.h should do this
for us already if it exists.

23 years agoFixed a bug in the tile pager / caching / management system that caused
curt [Wed, 30 May 2001 18:21:03 +0000 (18:21 +0000)]
Fixed a bug in the tile pager / caching / management system that caused
a crash when relocating to a new airport.  Pending work from the old
area is now just completed as normal, rather than trying to empty the various
queues in their various stages when can lead to many problems in a threaded
environment.

23 years ago1. Fixed FGInput bug preventing same key from being bound separately
curt [Tue, 29 May 2001 22:31:04 +0000 (22:31 +0000)]
1. Fixed FGInput bug preventing same key from being bound separately
with different modifiers (the format of the key bindings has changed
again slightly, adding a <code>..</code> element; see keyboard.xml for
details).

2. Modified FGInput to try default modifiers for ctrl, shift, and alt
when the initial bindings fail (i.e. you don't have to specify
mod-shift explicitly for upper-case 'P' any more).

3. Fixed problems with properties and panel reloading reported by
Martin Dressler and John Check.

4. Updated preferences.xml to get rid of obsolete references to
/controls/brakes/left and /controls/brakes/right (as reported by John
Check).

There were also two non-bugs reported by John Check:

(a) Differential braking doesn't work (John was using the obsolete
properties from #4 above).

(b) Duplicates show up in the property tree using the telnet interface
(the property tree doesn't show indices, and John was seeing separate
entries for each possible engine, etc.).

23 years agoWin32 fixes.
curt [Tue, 29 May 2001 22:06:14 +0000 (22:06 +0000)]
Win32 fixes.
Fixed a few glitches in the autopilot keys
Added a #define to be able to make a compile time decision to revert to
   older GPS like autopiolt behavior this define SHOULD become a property
   so that it is run time switchable.

23 years agoFix a clash with some standard MSVC defines (yeah MS) :-(
curt [Tue, 29 May 2001 20:02:00 +0000 (20:02 +0000)]
Fix a clash with some standard MSVC defines (yeah MS) :-(

23 years agoI'm attaching diffs to add a new FGInput module to FlightGear
curt [Wed, 23 May 2001 23:01:15 +0000 (23:01 +0000)]
I'm attaching diffs to add a new FGInput module to FlightGear
(src/Input).  So far, FGInput replaces most of src/Main/keyboard.cxx
(I've left a tiny stub); in the very near future, it will also take
over control of the joystick, mouse (Norm permitting), and panel
instrument interactions, so that there is a single mechanism for
configuring all input devices.

The new format should be (close to) self-explanatory by looking at the
new base-package file keyboard.xml, which is now included by
preferences.xml (I'll do the same thing for the joystick when I have a
chance).  I have not managed to move all keybindings into this file
yet, but I've made a good start.  I'm including Tony in the recipient
list so that he can see how bindings can use an external XML file.

This patch also adds support for multiple bindings for a single key,
special keys (i.e. keypad and function keys), and key modifiers
(shift/alt/ctrl); special keys use the PUI convention of adding 256 to
the Glut key code.

Unfortunately, everything comes with a price; in this case, I have not
yet found a general mechanism for the old (hard-coded) modal bindings,
which behaved differently depending on the autopilot state (i.e. left
rudder or move AP heading left); with my patches, this functionality
disappears, but you can still adjust the autopilot using the panel or
the GUI input dialogs.

23 years agoInitial revision. (Contributed by David Megginson)
curt [Wed, 23 May 2001 22:59:40 +0000 (22:59 +0000)]
Initial revision.  (Contributed by David Megginson)

23 years agoNorman Vine contributed more optimized object placement math.
curt [Wed, 23 May 2001 22:28:38 +0000 (22:28 +0000)]
Norman Vine contributed more optimized object placement math.

23 years agoWhitespace tweak.
curt [Wed, 23 May 2001 20:57:25 +0000 (20:57 +0000)]
Whitespace tweak.

23 years agoMinor texture tweaks.
curt [Wed, 23 May 2001 20:54:51 +0000 (20:54 +0000)]
Minor texture tweaks.

23 years agoUpdated by John Check.
curt [Tue, 22 May 2001 17:25:44 +0000 (17:25 +0000)]
Updated by John Check.

23 years agoTile pager tweaks.
curt [Mon, 21 May 2001 20:44:59 +0000 (20:44 +0000)]
Tile pager tweaks.
MSVC++ tweaks.

23 years agoWe can't remove ssg branches in the threaded tile page because if we happen
curt [Sun, 20 May 2001 06:49:06 +0000 (06:49 +0000)]
We can't remove ssg branches in the threaded tile page because if we happen
to have attached an ssg loaded object to this branch, then plib will remove
it and all it's states (and textures) which will call opengl api commands
which will crash the program if run from a separate thread from the main render
thread.

23 years agoThreaded tile paging:
curt [Sat, 19 May 2001 16:59:43 +0000 (16:59 +0000)]
Threaded tile paging:
- model loading deferred to primary thread
- tile removal deferred to paging thread
- other tweaks and rearrangments.

Airport signs
- first stab at some support for adding taxiway and runway signs.  This
  is non-optimal, but I'm under the gun for a demo.

23 years agoTile loading is interleaved now when not threaded. Threaded loader is
curt [Fri, 18 May 2001 20:31:23 +0000 (20:31 +0000)]
Tile loading is interleaved now when not threaded.  Threaded loader is
throttled to one tile per frame maximum.

23 years agoTweaks.
curt [Fri, 18 May 2001 20:30:36 +0000 (20:30 +0000)]
Tweaks.

23 years agoPush external eye point a bit further away from the aircraft.
curt [Fri, 18 May 2001 20:30:18 +0000 (20:30 +0000)]
Push external eye point a bit further away from the aircraft.

23 years agoDon't build ls_trim.c, but keep it in EXTRA_DIST.
curt [Fri, 18 May 2001 20:29:57 +0000 (20:29 +0000)]
Don't build ls_trim.c, but keep it in EXTRA_DIST.

23 years agoTrying to fix ascii file parsing and line terminator handling.
curt [Fri, 18 May 2001 16:09:39 +0000 (16:09 +0000)]
Trying to fix ascii file parsing and line terminator handling.

23 years agoMSVC++ changes contributed by Geoff McLane.
curt [Thu, 17 May 2001 21:55:22 +0000 (21:55 +0000)]
MSVC++ changes contributed by Geoff McLane.

23 years agoAdded David Megginson's patch for reconfigurable keyboard bindings.
curt [Wed, 16 May 2001 23:27:59 +0000 (23:27 +0000)]
Added David Megginson's patch for reconfigurable keyboard bindings.

23 years agoFirst stab at adding static objects to scene.
curt [Wed, 16 May 2001 06:00:02 +0000 (06:00 +0000)]
First stab at adding static objects to scene.

23 years agoAdded a missing 'return' in case statement.
curt [Wed, 16 May 2001 00:32:28 +0000 (00:32 +0000)]
Added a missing 'return' in case statement.

23 years agoUpdates for new, more flexible panel design from David Megginson.
curt [Tue, 15 May 2001 23:54:32 +0000 (23:54 +0000)]
Updates for new, more flexible panel design from David Megginson.

23 years agoUpdates from David Megginson.
curt [Tue, 15 May 2001 23:08:25 +0000 (23:08 +0000)]
Updates from David Megginson.

23 years agoModifications to coordinate with recent changes in simgear.
curt [Tue, 15 May 2001 22:30:39 +0000 (22:30 +0000)]
Modifications to coordinate with recent changes in simgear.

23 years ago#ifdef ENABLE_AUDIO_SUPPORT around all audio stuff.
curt [Tue, 15 May 2001 16:52:02 +0000 (16:52 +0000)]
#ifdef ENABLE_AUDIO_SUPPORT around all audio stuff.

23 years agoFixed a typo.
curt [Tue, 15 May 2001 04:08:31 +0000 (04:08 +0000)]
Fixed a typo.

23 years agoRe-added support for loading on-the-fly textures.
curt [Tue, 15 May 2001 00:01:04 +0000 (00:01 +0000)]
Re-added support for loading on-the-fly textures.

23 years agoAdded a search method for an airport/runway number combination.
curt [Tue, 15 May 2001 00:00:08 +0000 (00:00 +0000)]
Added a search method for an airport/runway number combination.

23 years agotweaks.
curt [Mon, 14 May 2001 23:58:54 +0000 (23:58 +0000)]
tweaks.

23 years agoAdded #include <string.h>
curt [Fri, 4 May 2001 05:19:01 +0000 (05:19 +0000)]
Added #include <string.h>

23 years agoTimezone fixes for Cygwin.
curt [Thu, 26 Apr 2001 18:15:32 +0000 (18:15 +0000)]
Timezone fixes for Cygwin.

23 years agoScreenshot tweaks from Cameron Moore.
curt [Sun, 22 Apr 2001 22:04:25 +0000 (22:04 +0000)]
Screenshot tweaks from Cameron Moore.

23 years agoFix various compiler warnings contributed by Norman Princeton.
curt [Sun, 22 Apr 2001 17:00:08 +0000 (17:00 +0000)]
Fix various compiler warnings contributed by Norman Princeton.

23 years agoSynced with latest JSBSim. X15 works for me, but C172 segfaults.
curt [Tue, 17 Apr 2001 21:19:54 +0000 (21:19 +0000)]
Synced with latest JSBSim.  X15 works for me, but C172 segfaults.

23 years agoInitial revision.
curt [Tue, 17 Apr 2001 13:35:38 +0000 (13:35 +0000)]
Initial revision.

23 years agoTweaks so tile loading still works in non-threaded mode.
curt [Tue, 17 Apr 2001 05:21:56 +0000 (05:21 +0000)]
Tweaks so tile loading still works in non-threaded mode.

23 years agoFix for reinit after user resizes screen.
curt [Mon, 16 Apr 2001 20:31:26 +0000 (20:31 +0000)]
Fix for reinit after user resizes screen.

23 years agoModified FlightGear/src/Scenery. The tile loader thread no longer adds
curt [Mon, 16 Apr 2001 20:03:52 +0000 (20:03 +0000)]
Modified FlightGear/src/Scenery.  The tile loader thread no longer adds
a newly loaded tile to the scene graph.  Instead it puts it in a queue
for the tile manager.  I've used your counter_hack to check the loaded
queue and add any tiles to the scene graph.  I was playing around with
the counter_hack so there might be some commented out code, etc.  I also
changed some SG_DEBUGs to SG_INFOs so I could track the tile loading.

23 years agoTweaks to the tile pager so it waits for a signal from the main thread before
curt [Sat, 14 Apr 2001 03:11:39 +0000 (03:11 +0000)]
Tweaks to the tile pager so it waits for a signal from the main thread before
loading the next tile.  This allows the main thread to "pace" the tile loader
so it consumes fewer resources.

23 years agoOops missed one updated file.
curt [Fri, 13 Apr 2001 21:16:16 +0000 (21:16 +0000)]
Oops missed one updated file.

23 years agoIrix MipsPRO fixes.
curt [Fri, 13 Apr 2001 21:00:07 +0000 (21:00 +0000)]
Irix MipsPRO fixes.

23 years agoUnconvoluted around line #130
curt [Wed, 11 Apr 2001 20:09:23 +0000 (20:09 +0000)]
Unconvoluted around line #130

23 years agoInitial stab at a threaded tile loader contributed by Bernie Bright.
curt [Wed, 11 Apr 2001 02:47:15 +0000 (02:47 +0000)]
Initial stab at a threaded tile loader contributed by Bernie Bright.
He writes:

Here are the final changes to add threads to the tile loading.  All the
thread related code is in the new FGTileLoader class.

./configure.in
./acconfig.h
Added --with-threads option and corresponding ENABLE_THREADS
definition.  The default is no threads.

./src/Scenery/tilemgr
Removed load_queue and associated references.  This has been replaced by
a new class FGTileLoader in FGNewCache.
Made the global variable global_tile_cache a member.
schedule_needed(): removed global_tile_cache.exists() tests since
sched_tile() effectively repeats the test.
initialize_queue(): removed code that loads tiles since this is now
performed by FGTileLoader.
update(): ditto

./src/Scenery/newcache
Added new class FGTileLoader to manage tile queuing and loading.
tile_map typedefs are private.
exists() is a const member function.
fill_in(): deleted
load_tile(): added.

./src/Scenery/FGTileLoader
The new threaded tile loader.  Maintains a queue of tiles waiting to be
loaded and an array of one or more threads to load the tiles.  Currently
only a single thread is created.  The queue is guarded by a mutex to
synchronize access.  A condition variable signals the thread when the
queue is non-empty.

CLO: I made a few tweaks to address a couple issues, hopefully what we
have is solid, but now we kick it out to the general public to see. :-)

23 years agoMore JSBSim updates.
curt [Fri, 6 Apr 2001 22:59:31 +0000 (22:59 +0000)]
More JSBSim updates.

23 years agoAdded loaded flag to FGTileEntry so that the main thread knows when the
curt [Fri, 6 Apr 2001 18:30:07 +0000 (18:30 +0000)]
Added loaded flag to FGTileEntry so that the main thread knows when the
tile has been loaded.  Since this flag can be set by another thread I've
declared it "volatile bool".

Also cleaned up delete vs delete[] usage.  Gcc is happy with delete[],
which is the correct usage.

23 years agoSynced with latest JSBSim cvs.
curt [Thu, 5 Apr 2001 21:14:37 +0000 (21:14 +0000)]
Synced with latest JSBSim cvs.
reinit fix from Norman.

23 years agoAdded a special default default fgroot for cygwin.
curt [Thu, 5 Apr 2001 20:25:40 +0000 (20:25 +0000)]
Added a special default default fgroot for cygwin.

23 years agoFrom David Megginson:
curt [Thu, 5 Apr 2001 20:20:44 +0000 (20:20 +0000)]
From David Megginson:

The files in the attached tarball make the following changes to
FlightGear:

- rename the existing FGInterface::init() method to
FGInterface::_setup to get it out of the way

- move *all* FDM initialization code out of src/Main/fg_init.cxx and
into FGInterface::init(), and clean up fg_init.cxx a little
(especially by removing the zillions of attempts to place the plane on
the ground at various locations in the code)

- modify FGInterface::bind() so that no values are picked up
automatically at bind time (they are set previously by init() instead)

- modify the init() methods of the classes derived from FGInterface
(i.e. larcsim, jsbsim, balloon, magic, and ada) to invoke
FGInterface::init() explicitly before doing their own setup

I don't claim that the code in FGInterface::init() is optimal (or even
correct), but it seems to work for on-ground starts with both LaRCSim
and JSBSim on runways pointing various directions from near sea level
to about 700' ASL (the range I happened to test).  I expect that Jon
and Tony will want to look at the code and refactor and correct it now
that they can see what's going on in one place.

Here's a quick outline of what is invoked:

  cur_fdm_state = new <whatever>(dt);
  cur_fdm_state->init();
  cur_fdm_state->bind();

The constructor allocates memory and sets default values only (with
the help of the FGInterface::_setup() method).  The init() method pull
any required properties out of the property tree and sets up the
initial state of the FDM.  The bind() method takes ownership of
FDM-related properties so that the FDM can publish them to the rest of
the sim.

Note that bind() and init() are virtual, so any implementation in a
subclass will hide the implementation in FGInterface; that's why
subclass implementations of init() and bind() have to invoke
FGInterface::init() and FGInterface::bind() explicitly, probably at
the start, so that they get the basic initialization.

23 years agoData logging patches from Jon Berndt
curt [Thu, 5 Apr 2001 15:39:37 +0000 (15:39 +0000)]
Data logging patches from Jon Berndt
Fix for model loading under plib-1.2.x in main.cxx

23 years agoBug fix from Norman Vine.
curt [Mon, 2 Apr 2001 21:28:35 +0000 (21:28 +0000)]
Bug fix from Norman Vine.

23 years agoPatches to flight.cxx to make things work better with JSBSim.
curt [Mon, 2 Apr 2001 20:14:04 +0000 (20:14 +0000)]
Patches to flight.cxx to make things work better with JSBSim.

23 years agoInitial units confusion fixes.
curt [Mon, 2 Apr 2001 03:39:43 +0000 (03:39 +0000)]
Initial units confusion fixes.

23 years agoUpdates to fix c172 throttle.
curt [Mon, 2 Apr 2001 03:18:44 +0000 (03:18 +0000)]
Updates to fix c172 throttle.

23 years agoLatest jsbsim updates.
curt [Mon, 2 Apr 2001 03:12:38 +0000 (03:12 +0000)]
Latest jsbsim updates.

23 years agoIrix MipsPro patches and fixes.
curt [Mon, 2 Apr 2001 02:59:31 +0000 (02:59 +0000)]
Irix MipsPro patches and fixes.

23 years agoUpdated for 8 ...
curt [Mon, 2 Apr 2001 02:39:51 +0000 (02:39 +0000)]
Updated for 8 ...

23 years agoUpdated from JSBSim cvs.
curt [Mon, 2 Apr 2001 02:27:45 +0000 (02:27 +0000)]
Updated from JSBSim cvs.

23 years agoInitial revision.
curt [Fri, 30 Mar 2001 03:08:44 +0000 (03:08 +0000)]
Initial revision.

23 years agoLatest round of JSBSim updates.
curt [Fri, 30 Mar 2001 01:04:50 +0000 (01:04 +0000)]
Latest round of JSBSim updates.

23 years agoTweaking sound safety margin.
curt [Thu, 29 Mar 2001 14:11:43 +0000 (14:11 +0000)]
Tweaking sound safety margin.

23 years agoInitial revision.
curt [Thu, 29 Mar 2001 13:14:42 +0000 (13:14 +0000)]
Initial revision.

23 years agoRemoved some debug output.
curt [Thu, 29 Mar 2001 06:14:42 +0000 (06:14 +0000)]
Removed some debug output.

23 years agoChanged wording ...
curt [Thu, 29 Mar 2001 06:09:25 +0000 (06:09 +0000)]
Changed wording ...

23 years agoPut blinking marker beacon (bool) into the property registry for use by the
curt [Thu, 29 Mar 2001 06:05:01 +0000 (06:05 +0000)]
Put blinking marker beacon (bool) into the property registry for use by the
panel.

23 years agoDynamically adjust audio safety margin (how much audio we stuff in the
curt [Thu, 29 Mar 2001 05:18:29 +0000 (05:18 +0000)]
Dynamically adjust audio safety margin (how much audio we stuff in the
pipe in advance) based on frame rates.

23 years ago- model loading should work again with the latest CVS PLIB (and, I
curt [Thu, 29 Mar 2001 03:49:02 +0000 (03:49 +0000)]
- model loading should work again with the latest CVS PLIB (and, I
hope, with earlier versions as well)
- support for the new LONG value type
- gear support for UIUC (updated for the newly renamed SG_* stuff;
otherwise identical to what I sent you before)
- fixed reported MSVC problem in src/FDM/flight.cxx

23 years agoFrom: David Megginson <david@megginson.com>
curt [Thu, 29 Mar 2001 03:16:25 +0000 (03:16 +0000)]
From: David Megginson <david@megginson.com>

I have created a set of patches to provide configurable landing gear
for the UIUC models.  The patches (including four new files) are
available at

  http://megginson.com/private/fgfs/uiuc-20010309.tar.gz

A modified UIUC configuration file for the Twin Otter (DHC-6) is
available at

  http://megginson.com/private/fgfs/aircraft.dat

It should be possible to configure appropriate gear for all of the
UIUC models now.  As a bonus, the models also support braking, both
absolute and differential, as well as nose-wheel steering (all of
which are currently missing from the UIUC models) -- when you land,
you don't have to keep rolling off the end of the runway anymore, and
you don't have to bank to steer in a taxi.

My sample configuration file contains absolutely bizarre, wild
guesses, and many places that I didn't even bother to guess properly.
The only actual data I had was the wing-span of the DHC-6 (65ft),
which I used for positioning the wing tips.  The wing-tips for this
model actually work now -- I hit the aileron hard while accelerating
for take-off, and the wingtip noticeably strikes the ground and
bounces up (quite dramatic in external view using the DHC-6 model from
Wolfram's site).

Details
-------

The UIUC models now support up to 16 gear points each where a gear
point is anything in the aircraft that can come in contact with the
ground, including the tail and wing-tips.  I have added the following
new fields to the UIUC configuration files, where <index> is an
integer between 0 and 15, and <value> is a real number:

  gear <index> Dx_gear <value>     # x offset from CG [ft]
  gear <index> Dy_gear <value>     # y offset from CG [ft]
  gear <index> Dz_gear <value>     # z offset from CG [ft]
  gear <index> cgear <value>       # spring damping [lbs/ft/sec]
  gear <index> kgear <value>       # springiness [lbs/ft]
  gear <index> muGear <value>      # rolling coefficient
  gear <index> strutLength <value> # gear travel [ft] (not yet used)

Most of these names were already pencilled into the UIUC documentation
(as TODO items), but I had to make up Dx_gear, Dy_gear, and Dz_gear --
if those are inappropriate, I'd appreciate suggestions for better
names.

It will be necessary to modify the other UIUC configuration files to
include some kind of gear support as well, or the planes will sink
nose-first into the ground down to their CG's (it's actually quite
funny to watch with an external view).

Background
----------

As I frequently remind everyone here, I have no math background worth
spitting at, so I will not even pretend to have done the hard stuff.
The UIUC code uses a copy of a very old version of the LaRCsim
c172_gear.c -- I wanted to update it with Tony Peden's excellent newer
version, which includes differential braking among other goodies (the
UIUC models don't support brakes, period).

I copied the newer code into uiuc_aero.c, and it compiled and ran, but
all of the planes ended up sitting on their tails with their noses in
the air.  Since Tony made his gear code nicely parameterized, I
experimented with different values, and found that it wasn't too hard
to balance the Twin Otter by moving the gear back a bit.  At first, I
used properties to set different values, but then I decided to
integrate the whole thing properly into the UIUC configuration
framework.  Thanks to Tony Peden, who did the real modelling work -- I
can take credit only for two or three hours of integration.  It turns
out that Tony's code is generalized enough to deal with a wide range
of different gear structures -- I suspect that it will even work for
the 747, when I get around to trying some values.

23 years agoFix for MSVC.
curt [Thu, 29 Mar 2001 01:44:54 +0000 (01:44 +0000)]
Fix for MSVC.

23 years agoUpdates from Bernie Bright to massage tile loading around to make it
curt [Thu, 29 Mar 2001 01:42:31 +0000 (01:42 +0000)]
Updates from Bernie Bright to massage tile loading around to make it
slightly more conducive to future threading.

23 years agoLight model tweaks.
curt [Wed, 28 Mar 2001 18:11:05 +0000 (18:11 +0000)]
Light model tweaks.

23 years agoFix moon drawing at night.
curt [Wed, 28 Mar 2001 17:52:40 +0000 (17:52 +0000)]
Fix moon drawing at night.

23 years agoRemoved an unneeded exit()
curt [Wed, 28 Mar 2001 14:38:55 +0000 (14:38 +0000)]
Removed an unneeded exit()

23 years agoAdded marker beacon sound effects.
curt [Wed, 28 Mar 2001 07:12:11 +0000 (07:12 +0000)]
Added marker beacon sound effects.

23 years agoLighting fixes.
curt [Wed, 28 Mar 2001 00:39:29 +0000 (00:39 +0000)]
Lighting fixes.
Warning fixes.
Typo in configure.in

23 years agoIrix MIPS patches.
curt [Mon, 26 Mar 2001 18:22:31 +0000 (18:22 +0000)]
Irix MIPS patches.

23 years agoMore fg -> sg namespace changes in simgear.
curt [Sun, 25 Mar 2001 14:20:12 +0000 (14:20 +0000)]
More fg -> sg namespace changes in simgear.

23 years agoinlines.h -> sg_inlines.h
curt [Sat, 24 Mar 2001 14:56:37 +0000 (14:56 +0000)]
inlines.h -> sg_inlines.h

23 years agofg_zlib.h -> sg_zlib.h
curt [Sat, 24 Mar 2001 14:12:00 +0000 (14:12 +0000)]
fg_zlib.h -> sg_zlib.h

23 years agoSG-ified logstream.
curt [Sat, 24 Mar 2001 06:03:11 +0000 (06:03 +0000)]
SG-ified logstream.

23 years agoSG_ namespace.
curt [Sat, 24 Mar 2001 04:56:46 +0000 (04:56 +0000)]
SG_ namespace.

23 years agoSG_ namespace
curt [Sat, 24 Mar 2001 04:48:44 +0000 (04:48 +0000)]
SG_ namespace

23 years agoFG_ to SG_ namespace changes.
curt [Sat, 24 Mar 2001 03:10:40 +0000 (03:10 +0000)]
FG_ to SG_ namespace changes.

23 years agoFG_ to SG_ namespace changes.
curt [Sat, 24 Mar 2001 02:36:45 +0000 (02:36 +0000)]
FG_ to SG_ namespace changes.

23 years agoFG_ to SG_ namespace changes.
curt [Sat, 24 Mar 2001 00:18:01 +0000 (00:18 +0000)]
FG_ to SG_ namespace changes.

23 years agoFG_ to SG_ namespace changes.
curt [Fri, 23 Mar 2001 22:59:18 +0000 (22:59 +0000)]
FG_ to SG_ namespace changes.

23 years agoFG_ to SG_ name changes.
curt [Fri, 23 Mar 2001 22:42:49 +0000 (22:42 +0000)]
FG_ to SG_ name changes.

23 years agoFG_HAVE_STD_INCLUDES -> SG_HAVE_STD_INCLUDES
curt [Fri, 23 Mar 2001 22:15:19 +0000 (22:15 +0000)]
FG_HAVE_STD_INCLUDES -> SG_HAVE_STD_INCLUDES

23 years agoDavid Luff: I've put Phil's temperature correction back in since I'm not
curt [Thu, 22 Mar 2001 23:42:16 +0000 (23:42 +0000)]
David Luff: I've put Phil's temperature correction back in since I'm not
implicitly correcting for that yet.  The plane now makes it to 11000ft on
autopilot *slowly*.  I think I'll have to look at the prop parameters
next - altering the diameter and blade angle just slightly can have
quite an effect.  If you want to play then try changing the values
prop_diameter and blade_angle in FGNewEngine::init.  Keep blade
angle between 20 and 25 (since those are the only values for which
I've entered data and I interpolate between them) and ignore
FGProp1_Blade_Angle since that's an old variable that isn't used.  I
really ought to read all the engine and prop parameters from file to
avoid recompilation when tweaking !

23 years agoDavid Luff: Here is an update to the engine model. It now takes
curt [Thu, 22 Mar 2001 16:27:16 +0000 (16:27 +0000)]
David Luff:  Here is an update to the engine model.  It now takes
the actual air pressure and temperature from the LaRCSim model
instead of assuming that it is at sea level as before.  This has
reduced the ceiling from over 60000 ft to about 9000 ft.  This is a bit
low (should be around 13 - 14000 ft I think) but I still have some
stuff to do with the engine power correlation and its ignoring the
temperature at the moment so I'm not panicking yet :-)

I've also changed the mixture-power correlation to one from a
published paper since the curve from the IO360 manual seemed to
be a load of rubbish, and didn't have any numbers on the mixture
axis anyway.

I've also knocked the full rich mixture down a touch in line with
Riley Rainey's recommendation, and cleaned up the code a bit.

23 years agoInitial revision.
curt [Thu, 22 Mar 2001 04:19:12 +0000 (04:19 +0000)]
Initial revision.

23 years agoAdded support for reading ~/.fgfsrc.hostname files.
curt [Thu, 22 Mar 2001 04:02:11 +0000 (04:02 +0000)]
Added support for reading ~/.fgfsrc.hostname files.

23 years agoMSVC++ fixes.
curt [Wed, 21 Mar 2001 23:16:21 +0000 (23:16 +0000)]
MSVC++ fixes.

23 years agoMSVC fixes.
curt [Wed, 21 Mar 2001 23:10:15 +0000 (23:10 +0000)]
MSVC fixes.

23 years agoconfigure.in script changes:
curt [Tue, 20 Mar 2001 17:02:21 +0000 (17:02 +0000)]
configure.in script changes:
  - don't look for X11 libs if X11 isn't installed
  - add verbose "checking for audio ... no/yes" messages.

23 years agoFixed some problems with marker beacon range:
curt [Mon, 19 Mar 2001 13:56:19 +0000 (13:56 +0000)]
Fixed some problems with marker beacon range:
a) I was compairing feet vs. meter (making the range 3x too. big)
b) I was using the diameter in place of the radius (making the range an
   additional 2x too big.)
c) Updated the equation for calculating range to model the weak transmitter
   not being picked up at upper altitudes.

We still might need some additional tweaking, but I think we are starting to
get in the right ball park.

23 years agoJulian Foad: fixes to meters/feet confusion. (Also length of "--vNorth="
curt [Sat, 17 Mar 2001 21:06:43 +0000 (21:06 +0000)]
Julian Foad: fixes to meters/feet confusion.  (Also length of "--vNorth="
is 9 not 8.)  Note that the initial altitude setting was placing us way below
the ground, but as it doesn't seem to have caused us problems, it's probably
redundant!

23 years agoOops ...
curt [Sat, 17 Mar 2001 00:00:32 +0000 (00:00 +0000)]
Oops ...