From cacab75b42227a05b00a3d2b485d32eb1391b45b Mon Sep 17 00:00:00 2001 From: Thies Lennart Alff Date: Thu, 1 Jul 2021 15:36:43 +0200 Subject: [PATCH] define decimals for uuv_att_control gains decimal for the uuv_att_control gain parameters was not defined. So QGroundControl displays them as integers what is rather unhandy. --- src/modules/uuv_att_control/uuv_att_control_params.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/uuv_att_control/uuv_att_control_params.c b/src/modules/uuv_att_control/uuv_att_control_params.c index 7e5c8cf322..fdad0b3d88 100644 --- a/src/modules/uuv_att_control/uuv_att_control_params.c +++ b/src/modules/uuv_att_control/uuv_att_control_params.c @@ -54,6 +54,7 @@ * Roll proportional gain * * @group UUV Attitude Control + * @decimal 2 */ PARAM_DEFINE_FLOAT(UUV_ROLL_P, 4.0f); @@ -61,6 +62,7 @@ PARAM_DEFINE_FLOAT(UUV_ROLL_P, 4.0f); * Roll differential gain * * @group UUV Attitude Control + * @decimal 2 */ PARAM_DEFINE_FLOAT(UUV_ROLL_D, 1.5f); @@ -70,6 +72,7 @@ PARAM_DEFINE_FLOAT(UUV_ROLL_D, 1.5f); * Pitch proportional gain * * @group UUV Attitude Control + * @decimal 2 */ PARAM_DEFINE_FLOAT(UUV_PITCH_P, 4.0f); @@ -77,6 +80,7 @@ PARAM_DEFINE_FLOAT(UUV_PITCH_P, 4.0f); * Pitch differential gain * * @group UUV Attitude Control + * @decimal 2 */ PARAM_DEFINE_FLOAT(UUV_PITCH_D, 2.0f); @@ -86,6 +90,7 @@ PARAM_DEFINE_FLOAT(UUV_PITCH_D, 2.0f); * Yawh proportional gain * * @group UUV Attitude Control + * @decimal 2 */ PARAM_DEFINE_FLOAT(UUV_YAW_P, 4.0f); @@ -93,6 +98,7 @@ PARAM_DEFINE_FLOAT(UUV_YAW_P, 4.0f); * Yaw differential gain * * @group UUV Attitude Control + * @decimal 2 */ PARAM_DEFINE_FLOAT(UUV_YAW_D, 2.0f);