This backs out only the target climb rate calculation fix for the time being,
maybe for good
This commit is contained in:
parent
fff2989853
commit
4124ac31d7
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue