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.
david [Wed, 6 Feb 2002 14:22:23 +0000 (14:22 +0000)]
Patches from Melchior Franz:
- remove buffer with class scope
- remove variable 'length' (isn't used anywhere)
- make process_command private (it isn't used anywhere outside, and it
shouldn't be)
david [Wed, 6 Feb 2002 14:22:04 +0000 (14:22 +0000)]
Patches from Melchior Franz:
- define buffers where they are needed (two places)
- comment out stale debug message (it doesn't buy anything, because the
contents are output two lines below, anyway)
- let every error message begin with "ERR ". This makes error messages
less beautiful, but easier to recognize for scripts. Every internet
protocol that outputs text, has such a tag for distinguishing regular
output from error messages. (pop3 uses "-ERR ", smtp uses error codes,
etc.)
david [Wed, 6 Feb 2002 14:21:24 +0000 (14:21 +0000)]
Patches from Melchior Franz:
- fix html bug (<form> was closed by another <form>, instead of </form>)
- remove useless <br>
- fix a bug, that would have truncated an argument containing a '&'
- extend the comment for urlEncode: cite the concerned RFC
curt [Tue, 5 Feb 2002 20:54:08 +0000 (20:54 +0000)]
A grab bag of tweaks and patches from Norman Vine.
- Better mingwin/cygwin support
- Various gui tweaks and code clean ups
- Initialization clean ups
- Hitlist/scenery tweaks
- other misc. stuff.
curt [Tue, 5 Feb 2002 05:51:11 +0000 (05:51 +0000)]
1. Tidies up h-FOV/v-FOV handling and makes window scale depend on
max(width, height) by default (easily changeable) rather than just width.
(src/GUI/gui.cxx, src/Main/main.cxx, src/Main/viewer.cxx, src/Main/viewer.hxx)
curt [Tue, 5 Feb 2002 05:04:02 +0000 (05:04 +0000)]
1. Enable intro music under MS Windows. (main.cxx)
This works on a CygWin build, and probably works on non-Cygwin builds
as well.
2. Enable FG to start even if audio is not available. (soundmgr.cxx)
Avoids the FGSoundMgr constructor crashing; the rest of FG then runs
OK without sound.
curt [Tue, 5 Feb 2002 04:42:39 +0000 (04:42 +0000)]
Tweaks from Julian Foad:
1. Enable auto-configure on more versions of auto tools. (configure.in)
2. Warnings from auto-configure tools. (src/Time/Makefile.am)
3. Typo: "the it's" -> "its". (docs-mini/README.Joystick)
4. Remove definition of FGViewer::update() that now is (or can be) pure
virtual\
. (src/Main/viewer.cxx)
5. Preferred form of function name according to comments in plib:
"not_working"\
-> "notWorking". (src/Sound/soundmgr.hxx)
curt [Mon, 4 Feb 2002 22:54:02 +0000 (22:54 +0000)]
Updates from "Jonathan Polley" <jwpolley@home.com> to convert from/to 'net'
format before reading/writing data from/to remote machine. This allows
different endian machines to talk to each other. Also added support for
passing time and time offset (warp) in the data packet.
curt [Thu, 31 Jan 2002 20:18:19 +0000 (20:18 +0000)]
Uncommented a few more inline accessors for the FDM. Note that this doesn't
mean that the various flight models are filling in the values with valid
data.
david [Wed, 30 Jan 2002 16:17:26 +0000 (16:17 +0000)]
Fixes from Cameron Moore:
I've attached 3 diffs against files in FlightGear to fix some printf
format strings. The changes are pretty straight forward. Let me know
if you have any questions. (BTW, I'm using gcc 2.95.4)