From acdcf7bd94c403806a82e76247a400e6817c31e8 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Thu, 21 Mar 2019 21:44:19 +0100 Subject: [PATCH] mc_pos_control: correct tilt parameter limits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - correcting c9e52d43862b6854d4396b2190cb4b9f1b957c0b to allow 180° maximum tilt instead of landing tilt. - Introducing tilt limitation minimums like requested in #11473 --- src/modules/mc_pos_control/mc_pos_control_params.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/mc_pos_control/mc_pos_control_params.c b/src/modules/mc_pos_control/mc_pos_control_params.c index f357304e46d9..09b65bef5055 100644 --- a/src/modules/mc_pos_control/mc_pos_control_params.c +++ b/src/modules/mc_pos_control/mc_pos_control_params.c @@ -320,8 +320,8 @@ PARAM_DEFINE_FLOAT(MPC_XY_VEL_MAX, 12.0f); * Limits maximum tilt in AUTO and POSCTRL modes during flight. * * @unit deg - * @min 0.0 - * @max 90.0 + * @min 20.0 + * @max 180.0 * @decimal 1 * @group Multicopter Position Control */ @@ -333,8 +333,8 @@ PARAM_DEFINE_FLOAT(MPC_TILTMAX_AIR, 45.0f); * Limits maximum tilt angle on landing. * * @unit deg - * @min 0.0 - * @max 180.0 + * @min 10.0 + * @max 90.0 * @decimal 1 * @group Multicopter Position Control */