curt [Sat, 19 Jan 2002 14:58:49 +0000 (14:58 +0000)]
Same autogen.sh tweak as for simgear to better handle irix vs.
linux. This will likely require more tweaking as other platforms report
in.
Fixed a warning that Makefile.am was generating.
david [Sat, 19 Jan 2002 05:34:03 +0000 (05:34 +0000)]
Removed FGEngInterface and FGGearInterface after consultation with
FDM people. FlightGear now supports an unlimited number of fuel
tanks. Also added correct fuel-flow reporting for piston engines, and
tracked new features in SimGear property support.
curt [Tue, 15 Jan 2002 22:33:24 +0000 (22:33 +0000)]
Cameron Moore writes:
It is Debian Policy to have a man page for all binaries.
Ove has several Wishlist items in the Debian Bug Tracker for this, so I
decided to whip the main `fgfs` manpage together and started one for the
`fgjs` utility (which I've never actually used).
david [Mon, 14 Jan 2002 03:14:42 +0000 (03:14 +0000)]
Changes to keep the various autopilot properties from stepping on each
other -- it is now possible to set properties at startup (such as an
autopilot altitude). The only user-visible change, other than the
fact that the properties work as they are supposed to, is that the
heading bug no longer starts at a random value.
curt [Fri, 11 Jan 2002 22:16:05 +0000 (22:16 +0000)]
Removed old remnants of plib-1.2.x support. We haven't officially supported
this older version of plib in some time, but there were bits of code remaining
that was (or could potentially) cause confusion.
david [Fri, 4 Jan 2002 20:58:48 +0000 (20:58 +0000)]
Renamed fgParseOptions(int,string) to fgParseArgs, and modified the
function to allow property files as non-option parameters after the
options have finished (and added "--" to terminate options). It's now
possible to do something like
fgfs denver-am.fgd
or even
fgfs at-lax.fgd in-c310.fgd around-sunset.fgd
This works the same way as the --config option, but will be friendlier
for GUIs, where start-up situation files can now be associated easily
with FlightGear.
david [Thu, 3 Jan 2002 17:42:04 +0000 (17:42 +0000)]
Update from JSBSim
Changed _set_Accels_Pilot_Body to use FGAuxiliary::GetNpilot instead
of FGAuxiliary::GetPilotAccel. It looks like a similar change was
started but never finished, and there are artifacts still lingering.
With this change, the slip/skid ball now works reasonably on the C172
when in motion, but not at rest (that will have to wait for fixes to
the gear code).
david [Fri, 28 Dec 2001 23:33:32 +0000 (23:33 +0000)]
Substantial rewrite of FGNewMat, the material class. Most of the
material-specific logic is now removed from the material library and
encapsulated in the material class itself, and materials are loaded
from $FG_ROOT/materials.xml rather than $FG_ROOT/materials. This also
removes a nasty bug in the old material-loading code that caused a
floating-point exception.
curt [Fri, 28 Dec 2001 22:29:59 +0000 (22:29 +0000)]
Updates to build system to better support automake-1.5
- automake-1.4 sets default values for INCLUDES which we can't
overwrite.
- automake-1.5 renames this to DEFAULT_INCLUDES and leaves INCLUDES
open for the developer to use.
Thus for automake-1.4 we are forced to 'append' to INCLUDES and in
automake-1.5 we can just set the value to whatever we like.
Unfortunately, the behaviors of the two versions are mutually
incompatible.
The solution I am committing now works for both versions but
automake-1.5 generates a lot of spurious warning messages that are
annoying, but not fatal.
david [Sat, 22 Dec 2001 23:18:28 +0000 (23:18 +0000)]
Modified FGSubsystem::update() to take an int parameter for delta time
(i.e. multiloop). Most subsystems currently ignore the parameter, but
eventually, it will allow all subsystems to update by time rather than
by framerate.
david [Sat, 22 Dec 2001 19:10:37 +0000 (19:10 +0000)]
Enable floating-point exceptions for Linux/x86 systems. See the
beginning of main() for the exceptions that can be enabled (only
divide-by-zero is enabled by default, but you can uncomment any ones
you want); eventually, FlightGear should run cleanly with all FPEs
enabled.
david [Sat, 22 Dec 2001 17:33:27 +0000 (17:33 +0000)]
Modified FGSubsystem::update() to take an int parameter for delta time
(i.e. multiloop). Most subsystems currently ignore the parameter, but
eventually, it will allow all subsystems to update by time rather than
by framerate.
curt [Fri, 21 Dec 2001 04:53:37 +0000 (04:53 +0000)]
Added a really simple wheel spin model for audio effect purposes only. This
has absolutely no bearing on actual wheel performance and has nothing to do
with the fdm. It is just a simplistic wheel spin velocity model used to
avoid subsequent squealing when a tire is bouncing, or touches down right after lifting off. If at some point tire spin is modeled by an FDM we could
transition to using real data.
curt [Wed, 12 Dec 2001 05:18:46 +0000 (05:18 +0000)]
Rename FGInterface::_updatePosition() ->
FGInterface::_updateGeocentricPosition() for clarity. Also added an
FGInterface::_updateGeodeticPosition() since it is useful.
A few clean ups to native_fdm.cxx and raw_fdm.hxx.
david [Wed, 12 Dec 2001 03:49:48 +0000 (03:49 +0000)]
Added --trace-read=<property> and --trace-write=<property> options.
These will log trace messages whenever a specific property value is
read or written through the property manager. They do not cause
FlightGear to poll bound values, so if a class variable that is bound
is changed directly, no trace message will be displayed.
These options are also useful in conjunction with a debugger.
--trace-read will cause the private SimGear SGPropertyNode::trace_read
method to be invoked, and --trace-write will cause the private SimGear
SGPropertyNode::trace_write method to be invoked; in a debugger
session, a user can set breakpoints on these methods then get a
backtrace to see what specific points in the code are reading or
writing properties.
david [Tue, 11 Dec 2001 19:27:37 +0000 (19:27 +0000)]
Modified initial property parsing order to be more intuitive. It now
works like this:
1. Parse preferences.xml, which will usually specify a default
aircraft using the /sim/aircraft property.
2. If /sim/aircraft is specified and not empty, parse the properties
in $FG_ROOT/Aircraft/{/sim/aircraft}-set.xml to set up a default
aircraft.
3. During command-line parsing, whenever the --aircraft option appears
set /sim/aircraft appropriately and parse the properties in
$FG_ROOT/Aircraft/{/sim/aircraft}-set.xml. Any --config, --prop, or
--aircraft options afterwards will take precedence.
curt [Mon, 10 Dec 2001 22:39:05 +0000 (22:39 +0000)]
Change to WeatherCM so that it doesn't triger an floating point exception
when queried for too low (i.e. < -1000 meters) altitudes. So now there's
now valid weather information for altitudes below -500 meters sea level.
curt [Mon, 10 Dec 2001 16:29:20 +0000 (16:29 +0000)]
Tweaks to how we load aircraft defaults and definition file to make things
more intuitive. We switch to an include in the preferences.xml to include
the default model, and then if the user specifies --aircraft=, that is
expanded immediately so portions can be overwritten by subsequent command
line options.
curt [Sun, 9 Dec 2001 05:43:40 +0000 (05:43 +0000)]
David Megginson writes:
Here's an unusual patch for FlightGear -- I've created .cvsignore
files for every source directory, to make CVS output more informative.
This is especially nice when using cvs-examine from (X)Emacs to look
for changes.
curt [Sun, 9 Dec 2001 05:19:50 +0000 (05:19 +0000)]
Small tweaks to initialization sequence and logic so we can default to
a top level aircraft def file (c172-set.xml)
preferences.xml or --aircraft= or any other property setting mechanism can
be used to set the property "/sim/aircraft". After all options and config
files are parsed, the contents of /sim/aircraft is expanded into a *-set.xml
file and loaded.
curt [Fri, 7 Dec 2001 22:38:19 +0000 (22:38 +0000)]
Changes from Norman Vine that 'almost' get 'reset' and 'goto apt' working.
Note there is still a problem when doing a 'reset' after doing
a 'goto'. Curt says: I also see that doing two subsequent reset's on a
JSBSim model results in a segfault in a deconstructor deep inside JSBSim.
curt [Fri, 7 Dec 2001 17:37:15 +0000 (17:37 +0000)]
Added --aircraft= option back in, but now it refers to a top level aircraft
config file that pulls in the proper fdm, aero model, panel, 3d model, etc.
for the aircraft.
curt [Thu, 6 Dec 2001 23:10:50 +0000 (23:10 +0000)]
Changed --aircraft= to --aero= to make way for a high level aircraft definition
that will tie together fdm, aero model, 3d model, sounds, etc. into one
top level config file.