From e8a8e7c677760f2b3200549fdd5bd5428d09be2d Mon Sep 17 00:00:00 2001 From: Silvan Fuhrer Date: Wed, 22 Mar 2023 10:15:24 +0100 Subject: [PATCH] VTOL: increase deafult of VT_QC_T_ALT_LOSS from 10 to 20m Testing has shown that 10m is a bit too tight, most of all as this check is also run in not height-controlled flight modes (eg Stabilized), and there 10m altitude loss during transitions can happen easily. Signed-off-by: Silvan Fuhrer --- src/modules/vtol_att_control/vtol_att_control_params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/vtol_att_control/vtol_att_control_params.c b/src/modules/vtol_att_control/vtol_att_control_params.c index 902c25c477..c4432dd51e 100644 --- a/src/modules/vtol_att_control/vtol_att_control_params.c +++ b/src/modules/vtol_att_control/vtol_att_control_params.c @@ -244,7 +244,7 @@ PARAM_DEFINE_FLOAT(VT_QC_HR_ERROR_I, 0.0f); * @decimal 1 * @group VTOL Attitude Control */ -PARAM_DEFINE_FLOAT(VT_QC_T_ALT_LOSS, 10.0f); +PARAM_DEFINE_FLOAT(VT_QC_T_ALT_LOSS, 20.0f); /** * Quad-chute max pitch threshold