David Megginson wrote: > On 22/02/06, Andy Ross <[EMAIL PROTECTED]> wrote: > > >>But the variable speed code will always seek to the specified RPM, and >>the current model gives it enough wiggle room to push the torque as >>far down as it wants, essentially. You could try setting a >>different/tunable "floor" to the pitch value (see the clamping in >>Propeller::modPitch()), but getting that value right is going to take >>a lot of experimentation. > > > Since I don't have the time or expertise to do the right thing, I've > added a work-around. > > The values in mod pitch are (loose) representations of the physical > stops in a constant speed propeller. For many of the models, the > fine-pitch stop allows too small a pitch, thus allowing the propeller > to spin too fast at low power settings. > > I've just checked in some patches to allow aircraft designers to > change these values at runtime, using the attributes "fine-stop" and > "coarse-stop" to fine-tune the propeller. Currently, these default to > the previously hard-coded values of 0.25 and 4.00, so current flight > models won't be affected. > > When I set "fine-stop" to 1.0, for example, the Comanche (pa24-250) > idles at a much more realistic RPM, and approach RPM also looks more > credible -- I haven't checked in that change until Dave Perry reviews > it, though (I'll send him the patch in a private e-mail). > > The user-visible (i.e. aircraft designer-visible) changes are > documented in $FG_ROOT/Docs/README.yasim. Anyone maintaining a YASim > flight model with (a) constant-speed propeller(s) should consider > playing with these values a bit. > > > All the best, > > > David > > -- > http://www.megginson.com/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel >
Anybody else getting this? Making all in YASim make[3]: Entering directory `/usr/local/src/FlightGear/source/src/FDM/YASim' if ccache g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../.. -I../../../src -I/usr/local/include -I/usr/X11R6/include -Wall -O2 -funroll-loops -march=athlon -g -I/usr/local -D_REENTRANT -MT YASim.o -MD -MP -MF ".deps/YASim.Tpo" -c -o YASim.o YASim.cxx; \ then mv -f ".deps/YASim.Tpo" ".deps/YASim.Po"; else rm -f ".deps/YASim.Tpo"; exit 1; fi YASim.cxx:1: error: expected unqualified-id before '<<' token /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/i486-linux-gnu/bits/c++config.h:68: error: '__gnu_debug_def' is not a namespace-name /usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/i486-linux-gnu/bits/c++config.h:68: error: expected namespace-name before ';' token BodyEnvironment.hpp:75: warning: 'class yasim::BodyEnvironment' has virtual functions but non-virtual destructor Engine.hpp:16: warning: 'class yasim::Engine' has virtual functions but non-virtual destructor PistonEngine.hpp:8: warning: 'class yasim::PistonEngine' has virtual functions but non-virtual destructor make[3]: *** [YASim.o] Error 1 make[3]: Leaving directory `/usr/local/src/FlightGear/source/src/FDM/YASim' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/FlightGear/source/src/FDM' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/FlightGear/source/src' make: *** [all-recursive] Error 1 Josh ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel