land_detector: added parameter for manual position stick takeoff threshold

This commit is contained in:
Matthias Grob
2017-02-28 13:05:33 +01:00
committed by Lorenz Meier
parent 9c2dd48814
commit 2b90224075
3 changed files with 19 additions and 2 deletions
@@ -134,6 +134,20 @@ PARAM_DEFINE_FLOAT(LNDMC_FFALL_TTRI, 0.3);
*/
PARAM_DEFINE_FLOAT(LNDMC_MAN_DWNTHR, 0.15f);
/**
* Manual position flight stick up threshold for taking off
*
* When controlling manually in position mode the throttle stick value (0 to 1)
* has to get above this threshold after arming in order to take off.
*
* @min 0
* @max 1
* @decimal 2
*
* @group Land Detector
*/
PARAM_DEFINE_FLOAT(LNDMC_POS_UPTHR, 0.65f);
/**
* Fixedwing max horizontal velocity
*