]> git.mxchange.org Git - flightgear.git/commit
Inspired by a patch from Vivian, this adds a settable "WASTEGATE"
authorandy <andy>
Mon, 27 Feb 2006 23:35:02 +0000 (23:35 +0000)
committerandy <andy>
Mon, 27 Feb 2006 23:35:02 +0000 (23:35 +0000)
commit97b75a79bff9b9bafef9246d8d03fb3e1911aced
treeac1e2bf65dc54d1d7235609c94d2cd7b17ca9205
parent9b33107551a8625d75049b711c6a1e0256fd3a66
Inspired by a patch from Vivian, this adds a settable "WASTEGATE"
control to piston engines that allows external scripts to control the
turbo/supercharger boost programatically by setting this axis to
values in the range [0:1].  It also adds a "turbo-lag" attribute (a
time in seconds) to engines implementing turbocharger spooling delays.

This isn't terribly well tested, but doesn't seem to have broken
anything.
src/FDM/YASim/ControlMap.cpp
src/FDM/YASim/ControlMap.hpp
src/FDM/YASim/FGFDM.cpp
src/FDM/YASim/PistonEngine.cpp
src/FDM/YASim/PistonEngine.hpp
src/FDM/YASim/PropEngine.cpp