Land detector: Turn throttle range parameter into proper user-configurable parameter

This commit is contained in:
Lorenz Meier
2017-01-28 16:23:04 +01:00
parent 9448b8cb52
commit 9ef97b78c8
3 changed files with 22 additions and 1 deletions
@@ -88,6 +88,22 @@ PARAM_DEFINE_FLOAT(LNDMC_ROT_MAX, 20.0f);
*/
PARAM_DEFINE_FLOAT(LNDMC_FFALL_THR, 2.0f);
/**
* Multicopter sub-hover throttle scaling
*
* The range between throttle_min and throttle_hover is scaled
* by this parameter to define how close to minimum throttle
* the current throttle value needs to be in order to get
* accepted as landed.
*
* @min 0.05
* @max 0.5
* @decimal 2
*
* @group Land Detector
*/
PARAM_DEFINE_FLOAT(LNDMC_THR_RANGE, 0.1f);
/**
* Multicopter free-fall trigger time
*