launchdetection param @unit

This commit is contained in:
Daniel Agar
2016-03-13 13:41:35 -04:00
committed by Lorenz Meier
parent 51cd8ce1ff
commit 06b61a93cb

View File

@@ -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
*/