From 4124ac31d7725a9d88fa8c6447385a58650ca14c Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 19 Jul 2003 14:15:11 +0000 Subject: [PATCH] This backs out only the target climb rate calculation fix for the time being, maybe for good --- src/Autopilot/newauto.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.39.5