]> git.mxchange.org Git - flightgear.git/commit
Jim Wilson:
authorcurt <curt>
Fri, 16 May 2003 17:27:17 +0000 (17:27 +0000)
committercurt <curt>
Fri, 16 May 2003 17:27:17 +0000 (17:27 +0000)
commite9f4fc5972dc78f668426d3e4f42d121aac16064
tree2b701dfa0e95bbed4fdf4cdcd67b20797f35da85
parentff7408fdf2e120b25f410238f87345633f18ac7c
Jim Wilson:
> > Here's a patch to add manual-pitch control to the propeller in YASim.  A new
> > control axis "PROPPITCH" is added.  Requires "manual-pitch" boolean property
> > in the "propeller" tag.
> >
> > Tags and Properties to add in order to enable:
> >
> > manual-pitch="true"
> >
> > <control-input axis="/controls/engines/engine[0]/propeller-pitch"
> > control="PROPPITCH" src0="0" src1="1" dst0="0.40" dst1="0.80"/>
> >
> > Note that for the time being, excessively low RPM or excessively high RPM is
> > brought undercontrol by a scaling range defined in the control-input tag
> > (see "dst0" and "dst1" properties).
src/FDM/YASim/ControlMap.cpp
src/FDM/YASim/ControlMap.hpp
src/FDM/YASim/FGFDM.cpp
src/FDM/YASim/PropEngine.cpp
src/FDM/YASim/PropEngine.hpp
src/FDM/YASim/Propeller.cpp
src/FDM/YASim/Propeller.hpp