FWPosControl: constrain min pitch to FW_TKO_PITCH_MIN in takeoff state

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer 2023-05-10 10:38:57 +02:00
parent 9c42dcbb0b
commit 951f89c8a8
1 changed files with 1 additions and 1 deletions

View File

@ -1466,7 +1466,7 @@ FixedwingPositionControl::control_auto_takeoff(const hrt_abstime &now, const flo
tecs_update_pitch_throttle(control_interval,
altitude_setpoint_amsl,
target_airspeed,
radians(_param_fw_p_lim_min.get()),
radians(_takeoff_pitch_min.get()),
radians(_param_fw_p_lim_max.get()),
_param_fw_thr_min.get(),
max_takeoff_throttle,