From: ehofman Date: Sat, 19 Jul 2003 14:15:11 +0000 (+0000) Subject: This backs out only the target climb rate calculation fix for the time being, X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4124ac31d7725a9d88fa8c6447385a58650ca14c;p=flightgear.git This backs out only the target climb rate calculation fix for the time being, maybe for good --- diff --git a/src/Autopilot/newauto.cxx b/src/Autopilot/newauto.cxx index a881edecf..e0bed6acd 100644 --- a/src/Autopilot/newauto.cxx +++ b/src/Autopilot/newauto.cxx @@ -746,9 +746,9 @@ FGAutopilot::update (double dt) if ( altitude_mode == FG_ALTITUDE_LOCK ) { climb_rate = ( TargetAltitude - - fgGetDouble("/instrumentation/altimeter/indicated-altitude-ft") * SG_FEET_TO_METER ) * (TargetClimbRate->getDoubleValue() * 0.016); + fgGetDouble("/instrumentation/altimeter/indicated-altitude-ft") * SG_FEET_TO_METER ) * 8.0; } else if ( altitude_mode == FG_TRUE_ALTITUDE_LOCK ) { - climb_rate = ( TargetAltitude - alt ) * (TargetClimbRate->getDoubleValue() * 0.016); + climb_rate = ( TargetAltitude - alt ) * 8.0; } else if ( altitude_mode == FG_ALTITUDE_GS1 ) { double x = current_radiostack->get_navcom1()->get_nav_gs_dist(); double y = (altitude_node->getDoubleValue()