Hi all,

Helping Vivian today on the Spitfire model, the gear warning (stall) klaxon 
wasn't working for me [again] although Vivian had fixed the previous issue 
why it failed sometimes.

After investigation, it turns out one of the conditions required for the stall 
warning to go off is:

            <equals>
              <property>controls/engines/engine/throttle</property>
              <value>0</value>
            </equals>

It turns out I calibrated my JS using JSCAL, and the throttle axis ran 
from -32766 <-> 32767.

Thus, when my throttle was off, FG actually reports it as (similar):

1.598490389232043e -5

so it isn't '0', and therefore klaxon criteria wasn't met.

Hand 'tweaking' my jscal file, I have now got my JS to report -32767 <-> 32767 
on all axis, and now FG does show throttle to be 1 <-> 0 at the ends of the 
range.

So, how accurate does the throttle need to be?  Surely not 1.5e -5?

Nick

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to