1
0
Fork 0

src/FDM/YASim/Propeller.cpp: set thrust to zero if feathered.

This commit is contained in:
Julian Smith 2020-10-25 10:53:56 +00:00
parent 2e35b01c89
commit fd723c0497

View file

@ -114,6 +114,10 @@ void Propeller::calc(float density, float v, float omega,
torque = tau0 - tau0 * (lambda - 1) / (lambdaWM - 1);
torque *= 0.5f * density * V2 * _f0;
}
if (_propfeather) {
thrust = 0;
}
*thrustOut = thrust;
*torqueOut = torque;