diff --git a/Aircraft/Generic/generic-autopilot.xml b/Aircraft/Generic/generic-autopilot.xml index cacebbc97..52b1d063c 100644 --- a/Aircraft/Generic/generic-autopilot.xml +++ b/Aircraft/Generic/generic-autopilot.xml @@ -318,7 +318,7 @@ /autopilot/internal/target-climb-rate-fps - 1.0 + 0.5 1.0 0.1 0.0 @@ -469,7 +469,8 @@ speed-with-throttle - /autopilot/internal/lookahead-5-sec-airspeed-kt + + /velocities/airspeed-kt /autopilot/settings/target-speed-kt @@ -477,6 +478,12 @@ /controls/engines/engine[0]/throttle /controls/engines/engine[1]/throttle + /controls/engines/engine[2]/throttle + /controls/engines/engine[3]/throttle + /controls/engines/engine[4]/throttle + /controls/engines/engine[5]/throttle + /controls/engines/engine[6]/throttle + /controls/engines/engine[7]/throttle 0.1 @@ -491,13 +498,13 @@ - + - Speed hold (vary pitch) Stage #1 + Speed hold (vary pitch trim) Stage #1 false /autopilot/locks/speed - speed-with-pitch + speed-with-pitch-trim /autopilot/internal/lookahead-5-sec-airspeed-kt @@ -522,11 +529,11 @@ - Speed hold (vary pitch) Stage #2 + Speed hold (vary pitch trim) Stage #2 false /autopilot/locks/speed - speed-with-pitch + speed-with-pitch-trim /orientation/pitch-deg diff --git a/Nasal/controls.nas b/Nasal/controls.nas index 0296b494d..0b894654d 100644 --- a/Nasal/controls.nas +++ b/Nasal/controls.nas @@ -268,8 +268,7 @@ incElevator = func { if ( elevator.getValue() > 1.0 ) { elevator.setValue( 1.0 ); } - } - if ( auto.getValue() == "altitude-hold" ) { + } elsif ( auto.getValue() == "altitude-hold" ) { node = props.globals.getNode("/autopilot/settings/target-altitude-ft", 1); if ( node.getValue() == nil ) { node.setValue( 0.0 ); diff --git a/gui/dialogs/autopilot.xml b/gui/dialogs/autopilot.xml index c2961c550..7c182ded0 100644 --- a/gui/dialogs/autopilot.xml +++ b/gui/dialogs/autopilot.xml @@ -343,7 +343,7 @@ --> - autospeed-w-pitch + autospeed 150 130 150 @@ -400,7 +400,7 @@ nasal