From 9b71379ea619a56cc69c30ca6acd9c48e05d75a2 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 25 Apr 2016 09:35:41 +0200 Subject: [PATCH] FW pos control: Show normalized units properly --- src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c b/src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c index efccee1c12..e50a898b26 100644 --- a/src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c +++ b/src/modules/fw_pos_control_l1/fw_pos_control_l1_params.c @@ -74,6 +74,7 @@ PARAM_DEFINE_FLOAT(FW_L1_DAMPING, 0.75f); * * This is the throttle setting required to achieve the desired cruise speed. Most airframes have a value of 0.5-0.7. * + * @unit norm * @min 0.0 * @max 1.0 * @group FW L1 Control @@ -134,6 +135,7 @@ PARAM_DEFINE_FLOAT(FW_R_LIM, 50.0f); * For overpowered aircraft, this should be reduced to a value that * provides sufficient thrust to climb at the maximum pitch angle PTCH_MAX. * + * @unit norm * @min 0.0 * @max 1.0 * @group FW L1 Control @@ -152,6 +154,7 @@ PARAM_DEFINE_FLOAT(FW_THR_MAX, 1.0f); * For aircraft with internal combustion engine this parameter should be set * for desired idle rpm. * + * @unit norm * @min 0.0 * @max 1.0 * @group FW L1 Control @@ -166,6 +169,7 @@ PARAM_DEFINE_FLOAT(FW_THR_MIN, 0.0f); * For aircraft with internal combustion engine this parameter should be set * above desired idle rpm. * + * @unit norm * @min 0.0 * @max 0.4 * @group FW L1 Control @@ -178,6 +182,7 @@ PARAM_DEFINE_FLOAT(FW_THR_IDLE, 0.15f); * This throttle value will be set as throttle limit at FW_LND_TLALT, * before arcraft will flare. * + * @unit norm * @min 0.0 * @max 1.0 * @group FW L1 Control