From 06b61a93cbad977d8c1d6674eaf25db84a212517 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sun, 13 Mar 2016 13:41:35 -0400 Subject: [PATCH] launchdetection param @unit --- src/lib/launchdetection/launchdetection_params.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/launchdetection/launchdetection_params.c b/src/lib/launchdetection/launchdetection_params.c index c5ba67e3b0..3a1607180d 100644 --- a/src/lib/launchdetection/launchdetection_params.c +++ b/src/lib/launchdetection/launchdetection_params.c @@ -47,6 +47,7 @@ /** * Enable launch detection. * + * @unit boolean * @min 0 * @max 1 * @group Launch detection @@ -56,8 +57,9 @@ PARAM_DEFINE_INT32(LAUN_ALL_ON, 0); /** * Catapult accelerometer threshold. * - * LAUN_CAT_A * LAUN_CAT_T serves as threshold to trigger launch detection. + * LAUN_CAT_A for LAUN_CAT_T serves as threshold to trigger launch detection. * + * @unit m/s/s * @min 0 * @group Launch detection */ @@ -66,8 +68,9 @@ PARAM_DEFINE_FLOAT(LAUN_CAT_A, 30.0f); /** * Catapult time threshold. * - * LAUN_CAT_A * LAUN_CAT_T serves as threshold to trigger launch detection. + * LAUN_CAT_A for LAUN_CAT_T serves as threshold to trigger launch detection. * + * @unit s * @min 0 * @group Launch detection */ @@ -79,7 +82,7 @@ PARAM_DEFINE_FLOAT(LAUN_CAT_T, 0.05f); * Delay between starting attitude control and powering up the throttle (giving throttle control to the controller) * Before this timespan is up the throttle will be set to FW_THR_IDLE, set to 0 to deactivate * - * @unit seconds + * @unit s * @min 0 * @group Launch detection */