]> git.mxchange.org Git - flightgear.git/commit
From Tony Peden:
authorcurt <curt>
Fri, 19 May 2000 16:29:23 +0000 (16:29 +0000)
committercurt <curt>
Fri, 19 May 2000 16:29:23 +0000 (16:29 +0000)
commit98350722416c1a8629352fcecd9d1f9c35d1c071
tree6583739f8ce705da670c7f4da1a3cf9fb2b6d30f
parent2f22748275530a28183d0b7585b2eb37324bd6da
From Tony Peden:

This set of changes cleans up my previous ones quite a bit:
[tony@valkyrie FlightGear]$ tar -ztf tp_changes.tgz
src/Controls/controls.cxx
src/Controls/controls.hxx
src/FDM/JSBsim.cxx
src/Main/fg_init.cxx
src/Main/options.cxx
src/Main/options.hxx
src/Joystick/joystick.cxx

controls.[ch]xx:  removed the trimmed_throttle stuff.  This undoes the
                  changes I submitted last time.

JSBsim.cxx:       updates for the removal of the trimmed_throttle stuff

fg_init.cxx:      removed the autothrottle logic.  The autothrottle is now
off
                  by default.

options.[ch]xx:   Sets trim_mode to false by default.  It is enabled only
                  when --notrim is not used and JSBsim is the FDM.

joystick.cxx:     Added logic for syncing the throttle lever.  This is
                  only enabled when trim_mode is enabled.   The way I
                  did it is, I hope, a good way of going about it.

I tested:
fgfs --fdm=larcsim
fgfs --fdm=jsb --aircraft=c172 --vc=100 --altitude=500
fgfs --notrim --fdm=jsb --aircraft=c172 --vc=100 --altitude=500

All work as intended, at least for me.

Make sure your joystick is calibrated and give:
fgfs --fdm=jsb --aircraft=c172 --vc=100 --altitude=500
a try, I think you just might be impressed.

I am. ;-)
src/Controls/controls.cxx
src/Controls/controls.hxx
src/FDM/JSBSim.cxx
src/Joystick/joystick.cxx
src/Main/fg_init.cxx
src/Main/options.cxx
src/Main/options.hxx