From 72d296fe65f14f5c4b8347e5b802fd35dc988ee5 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Fri, 6 May 2016 17:43:13 -0400 Subject: [PATCH] launchdetection_params.c param metadata --- .../launchdetection/launchdetection_params.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/lib/launchdetection/launchdetection_params.c b/src/lib/launchdetection/launchdetection_params.c index 9af90279d2..4e80244855 100644 --- a/src/lib/launchdetection/launchdetection_params.c +++ b/src/lib/launchdetection/launchdetection_params.c @@ -61,6 +61,8 @@ PARAM_DEFINE_INT32(LAUN_ALL_ON, 0); * * @unit m/s/s * @min 0 + * @decimal 1 + * @increment 0.5 * @group Launch detection */ PARAM_DEFINE_FLOAT(LAUN_CAT_A, 30.0f); @@ -71,7 +73,10 @@ PARAM_DEFINE_FLOAT(LAUN_CAT_A, 30.0f); * LAUN_CAT_A for LAUN_CAT_T serves as threshold to trigger launch detection. * * @unit s - * @min 0 + * @min 0.0 + * @max 5.0 + * @decimal 2 + * @increment 0.05 * @group Launch detection */ PARAM_DEFINE_FLOAT(LAUN_CAT_T, 0.05f); @@ -83,7 +88,10 @@ PARAM_DEFINE_FLOAT(LAUN_CAT_T, 0.05f); * Before this timespan is up the throttle will be set to FW_THR_IDLE, set to 0 to deactivate * * @unit s - * @min 0 + * @min 0.0 + * @max 10.0 + * @decimal 1 + * @increment 0.5 * @group Launch detection */ PARAM_DEFINE_FLOAT(LAUN_CAT_MDEL, 0.0f); @@ -95,8 +103,10 @@ PARAM_DEFINE_FLOAT(LAUN_CAT_MDEL, 0.0f); * This allows to limit the maximum pitch angle during a bungee launch (make the launch less steep). * * @unit deg - * @min 0 - * @max 45 + * @min 0.0 + * @max 45.0 + * @decimal 1 + * @increment 0.5 * @group Launch detection */ PARAM_DEFINE_FLOAT(LAUN_CAT_PMAX, 30.0f);