Andy Ross

> Vivian Meazza wrote:
> > Engines/engine/boost-pressure-psi-gauge = 46.00167 (correct order of
> > boost)
> 
> Can you try it with the CVS code?  This may be interacting badly with
> your local changes, which makes debugging difficult.  Nothing in this
> mechanism should require any of the new code.
> 
Here's the result of the short experiment conducted using a clean download
of the YASim directory from this morning cvs-HEAD:

This is the entry in the config file

<control-input axis="/controls/engines/engine[0]/boost-control"
control="THROTTLE"/>

Here is the setting in the property browser

Controls/engines/engine/boost-control= 1.0

Here is the output in the property browser

Engines/engine/mp-inhg = 145.518585 
Engines/engine/prop-thrust = 4230.001953
Velocities/airspeed-kt = 45.839

Same outcome. I guess that something somewhere isn't reading the input axis.
I haven't found it yet, but in passing (and only peripherally related to
this problem) I found this in thrusters.cpp 

void Thruster::setThrottle(float throttle)
{
    _throttle = Math::clamp(throttle, 0, 1);
}

Will this prevent a negative value for:

<control-input axis="/controls/engines/engine[0]/boost-control"
control="THROTTLE"/> 

when we get it to work?

V.



_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to