1
0
Fork 0

#798: Betrand Coconnier: Fix setting initial vertical speed with JSBSim

This commit is contained in:
ThorstenB 2012-07-15 15:23:46 +02:00
parent 831662fca8
commit d5c56cdffa

View file

@ -1171,7 +1171,7 @@ void FGJSBsim::set_Climb_Rate( double roc)
//since both climb rate and flight path angle are set in the FG
//startup sequence, something is needed to keep one from cancelling
//out the other.
if( !(fabs(roc) > 1 && fabs(fgic->GetFlightPathAngleRadIC()) < 0.01) ) {
if( fabs(roc) > 1 && fabs(fgic->GetFlightPathAngleRadIC()) < 0.01 ) {
if (needTrim)
fgic->SetClimbRateFpsIC(roc);
else {