diff --git a/src/modules/vtol_att_control/standard_params.c b/src/modules/vtol_att_control/standard_params.c index 3a2185eead..bc0bafa508 100644 --- a/src/modules/vtol_att_control/standard_params.c +++ b/src/modules/vtol_att_control/standard_params.c @@ -42,8 +42,11 @@ /** * Target throttle value for pusher/puller motor during the transition to fw mode * + * @unit percentage * @min 0.0 * @max 1.0 + * @increment 0.01 + * @decimal 3 * @group VTOL Attitude Control */ PARAM_DEFINE_FLOAT(VT_TRANS_THR, 0.6f); diff --git a/src/modules/vtol_att_control/tailsitter_params.c b/src/modules/vtol_att_control/tailsitter_params.c index af38b55693..35b0a6ab70 100644 --- a/src/modules/vtol_att_control/tailsitter_params.c +++ b/src/modules/vtol_att_control/tailsitter_params.c @@ -47,8 +47,11 @@ * Time in seconds it should take for the rotors to rotate forward completely from the point * when the plane has picked up enough airspeed and is ready to go into fixed wind mode. * + * @unit seconds * @min 0.1 - * @max 2 + * @max 5.0 + * @increment 0.01 + * @decimal 3 * @group VTOL Attitude Control PARAM_DEFINE_FLOAT(VT_TRANS_P2_DUR, 0.5f);*/ diff --git a/src/modules/vtol_att_control/tiltrotor_params.c b/src/modules/vtol_att_control/tiltrotor_params.c index e37b520473..5160940003 100644 --- a/src/modules/vtol_att_control/tiltrotor_params.c +++ b/src/modules/vtol_att_control/tiltrotor_params.c @@ -43,10 +43,11 @@ /** * Position of tilt servo in mc mode * - * Position of tilt servo in mc mode - * + * @unit percentage * @min 0.0 - * @max 1 + * @max 1.0 + * @increment 0.01 + * @decimal 3 * @group VTOL Attitude Control */ PARAM_DEFINE_FLOAT(VT_TILT_MC, 0.0f); @@ -54,10 +55,11 @@ PARAM_DEFINE_FLOAT(VT_TILT_MC, 0.0f); /** * Position of tilt servo in transition mode * - * Position of tilt servo in transition mode - * + * @unit percentage * @min 0.0 - * @max 1 + * @max 1.0 + * @increment 0.01 + * @decimal 3 * @group VTOL Attitude Control */ PARAM_DEFINE_FLOAT(VT_TILT_TRANS, 0.3f); @@ -65,10 +67,11 @@ PARAM_DEFINE_FLOAT(VT_TILT_TRANS, 0.3f); /** * Position of tilt servo in fw mode * - * Position of tilt servo in fw mode - * + * @unit percentage * @min 0.0 - * @max 1 + * @max 1.0 + * @increment 0.01 + * @decimal 3 * @group VTOL Attitude Control */ PARAM_DEFINE_FLOAT(VT_TILT_FW, 1.0f); @@ -79,8 +82,11 @@ PARAM_DEFINE_FLOAT(VT_TILT_FW, 1.0f); * Time in seconds it should take for the rotors to rotate forward completely from the point * when the plane has picked up enough airspeed and is ready to go into fixed wind mode. * + * @unit seconds * @min 0.1 - * @max 2 + * @max 5.0 + * @increment 0.01 + * @decimal 3 * @group VTOL Attitude Control */ PARAM_DEFINE_FLOAT(VT_TRANS_P2_DUR, 0.5f); @@ -89,8 +95,11 @@ PARAM_DEFINE_FLOAT(VT_TRANS_P2_DUR, 0.5f); * The channel number of motors that must be turned off in fixed wing mode. * * + * @unit * @min 0 * @max 12345678 + * @increment 1 + * @decimal 0 * @group VTOL Attitude Control */ PARAM_DEFINE_INT32(VT_FW_MOT_OFFID, 0);