From d5cbf5df0164971d96590cc63949ff7a4ae5c4e1 Mon Sep 17 00:00:00 2001 From: Silvan Fuhrer Date: Tue, 16 May 2023 15:59:31 +0200 Subject: [PATCH] VTOL: params: add missing @decimal and @increment Signed-off-by: Silvan Fuhrer --- src/modules/vtol_att_control/standard_params.c | 4 ++++ src/modules/vtol_att_control/tiltrotor_params.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/vtol_att_control/standard_params.c b/src/modules/vtol_att_control/standard_params.c index 5bbb4d5cc0..51b75a159b 100644 --- a/src/modules/vtol_att_control/standard_params.c +++ b/src/modules/vtol_att_control/standard_params.c @@ -71,6 +71,8 @@ PARAM_DEFINE_INT32(VT_FWD_THRUST_EN, 0); * * @min 0.0 * @max 2.0 + * @increment 0.01 + * @decimal 2 * @group VTOL Attitude Control */ PARAM_DEFINE_FLOAT(VT_FWD_THRUST_SC, 0.7f); @@ -83,6 +85,8 @@ PARAM_DEFINE_FLOAT(VT_FWD_THRUST_SC, 0.7f); * @unit s * @min 0.0 * @max 20.0 + * @increment 0.1 + * @decimal 1 * @group VTOL Attitude Control */ PARAM_DEFINE_FLOAT(VT_B_TRANS_RAMP, 3.0f); diff --git a/src/modules/vtol_att_control/tiltrotor_params.c b/src/modules/vtol_att_control/tiltrotor_params.c index a7d54c6c08..796d214a6b 100644 --- a/src/modules/vtol_att_control/tiltrotor_params.c +++ b/src/modules/vtol_att_control/tiltrotor_params.c @@ -50,7 +50,7 @@ PARAM_DEFINE_FLOAT(VT_TILT_MC, 0.0f); /** - * Normalized tilt transition to FW + * Normalized tilt in transition to FW * * @min 0.0 * @max 1.0