From 30cda045f144eb9975b5340a1ceda739be5cd86d Mon Sep 17 00:00:00 2001 From: Leonard Hall Date: Tue, 31 Aug 2021 13:48:26 +0930 Subject: [PATCH] AC_Autotune: Separate landing and terrain following. --- libraries/AC_AutoTune/AC_AutoTune.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AC_AutoTune/AC_AutoTune.cpp b/libraries/AC_AutoTune/AC_AutoTune.cpp index 7bdfc98c16f09..29e7bc4369360 100644 --- a/libraries/AC_AutoTune/AC_AutoTune.cpp +++ b/libraries/AC_AutoTune/AC_AutoTune.cpp @@ -409,7 +409,7 @@ void AC_AutoTune::run() } // call position controller - pos_control->set_pos_target_z_from_climb_rate_cm(target_climb_rate_cms, false); + pos_control->set_pos_target_z_from_climb_rate_cm(target_climb_rate_cms); pos_control->update_z_controller(); }