curt [Fri, 1 Mar 2002 17:39:52 +0000 (17:39 +0000)]
Attached is a reasonably large patch to add a proper ATC
subsystem to Flightgear. No more functionality is implemented
than at present (apart from an ATIS bug-fix - station wouldn't
change if the radio was switched directly from one station to
another) but it is much neater than the current hack and should be
easily extendable.
Some cruft is still probably left over in radiostack.[ch]xx such as
the bindings to the comm frequencies but I'll leave removing those
until I'm sure they're not needed there.
curt [Fri, 1 Mar 2002 16:54:50 +0000 (16:54 +0000)]
This is the change where autopilot bindings are moved from fg_props.cxx to
newauto.cxx. Basically everything is the same functionally except for a
changed in the initial altitude setting to 3000ft instead of meters (the panel
is in feet).
andy [Fri, 1 Mar 2002 06:47:28 +0000 (06:47 +0000)]
Added a property output feature to ControlMap that allows arbitrary binding
and scaling of control values to properties. Also added a time interpolation
feature that replaces the hacked-in "retract-time" feature for the gear in
a more general way (applicable to flaps, too!). Incompatibly breaks
the XML syntax; get new files!
curt [Thu, 28 Feb 2002 23:59:28 +0000 (23:59 +0000)]
Latest version of hitlist.cxx from Norman Vine:
- Addresses some ot the recent profiling results.
- Added a 'lazy evaluation' in IntersectBranch and inlined a couple
of HEAVILY called functions.
david [Wed, 27 Feb 2002 15:13:58 +0000 (15:13 +0000)]
Major sound-effect architectural reworking from Eric Hofman, allowing
individual aircraft to have different sounds (and cleaning up my code
a fair bit). The most important user-visible change is the renaming
of the /sim/sound property to /sim/sound/audible.
david [Tue, 26 Feb 2002 00:10:06 +0000 (00:10 +0000)]
Started support for animations. Currently, the only supported type
(other than "none") is "spin", which must be tied to a property giving
a value in RPM. This gets the DC-3 propellers turning. The next type
will be "rotation", which will allow the flaps, elevators, ailerons,
and rudders to move (and even gear, eventually). Later, I'll add
"shift" for sliding things around, and will figure something out for
blinking lights.
david [Mon, 25 Feb 2002 20:07:34 +0000 (20:07 +0000)]
If the model path specified ends with .xml, then read properties from
the XML file, including the path to the 3D file.
This change obsoletes the existing /sim/model/*-offset-deg and
/sim/model/*-offset-m properties in the main property tree, and
replaces them with /offsets/*-deg and /offsets/*-m in the model
property file. The /path property in the model XML file is relative
to the XML file's location rather than FG_ROOT.
curt [Sun, 24 Feb 2002 21:41:02 +0000 (21:41 +0000)]
Removed orphaned 10520d engine modeling code. Thanks goes to Phil
Schubert for getting the ball rolling with engine modeling in
flightgear. The existing engine modeling code is derived from
his initial efforts.
david [Fri, 22 Feb 2002 22:51:34 +0000 (22:51 +0000)]
Added FGEnvironmentMgr to provide information on the environment in
different locations, and hitched it into FGGlobals. FGEnvironmentMgr
has taken over as the subsystem, while FGEnvironment is simple the
information that it returns. I've removed current_environment
completely -- everything now uses properties or goes through
FGGlobals. FGGlobals itself has a couple of useful methods:
The first one returns the environment data for the plane's current
position, while the second returns the environment data for any
arbitrary location. Currently, they both return the same information,
but that will change soon.
andy [Wed, 20 Feb 2002 07:15:12 +0000 (07:15 +0000)]
Minor mixup. Engines that are off have a manifold pressure equal to
ambient, not to _rho0, which is the air density of the "calibration
environment" (typically sea level).
andy [Wed, 20 Feb 2002 07:10:58 +0000 (07:10 +0000)]
Scaling "idle" MP to 6 inches or so is all well and good, but not if
the engine continues to develop 20% power. Rescale the output power
accordingly, so idling aircraft stay put.
david [Tue, 19 Feb 2002 01:26:44 +0000 (01:26 +0000)]
First steps in a weather reorganization. Note especially that
properties have been renamed from wind-(north|east|down)-fps to
wind-from-(north|east|down)-fps, and the FDMs modified appropriately.
No other changes should be visible unless FG_OLD_WEATHER is defined.
david [Mon, 18 Feb 2002 19:18:51 +0000 (19:18 +0000)]
Patches from Tony Peden:
Attached are patches for adding the command line options to set initial
glideslope and climb rate. This was really easy to do as all the pieces
were in place. It works well with JSBSim because the trimming routine
finds the right throttle and elevator settings. It should work with
LaRCsim as well, but it has no trimming routine so there will be some
dynamics at startup. I don't know what YASim will do.
curt [Wed, 13 Feb 2002 20:12:31 +0000 (20:12 +0000)]
This is a three line fix for some inconsistancies between the gui dialogs and
the panel controls for the autopilot. The heading dialog would only show the
last setting you did through it, even if it was later tweaked with the bug on
the hsi. The altitude dialog did a similar thing. Now the values default to
the same that show on the panel displays.
curt [Wed, 13 Feb 2002 02:37:44 +0000 (02:37 +0000)]
Added a clock freeze option (/sim/freeze/clock). This can be specified
via the command line (--enable-clock-freeze / --disable-clock-freeze)
and can be toggled during a run. However this property is not currently
bound to any menu or keystroke so you have to do it via the gui property
interface or externally via the web property browser or a script.
curt [Fri, 8 Feb 2002 23:03:54 +0000 (23:03 +0000)]
Tweaks to 'native fdm' output. Time offset should now be properly supported
as well as visibility.
This means that if you are using this protocal to exchange data with a
visual channel, you should be able to change time and visibility on the master
and all the slaved visual channels will match it.
curt [Fri, 8 Feb 2002 17:27:38 +0000 (17:27 +0000)]
Fixes for the bug where LaRCsim gets no fuel and won't start,
and also a bug with the EGT being displayed at running values
when cranking without starting.
david [Fri, 8 Feb 2002 13:36:46 +0000 (13:36 +0000)]
JSBSim change from Dave Luff:
Attached is a fix to add a short period of cranking time required
before the engine fires. I've also added a little hack to limit the
torque applied by the starter motor when the rpm is less than 10 in
order to avoid the rpm overshooting idle in the first time step when
the prop is producing very little resistance due to the low rpm.