Land detector: Choose a default alt limit parameter value that ensures regular users are not running into it

This commit is contained in:
Lorenz Meier 2017-05-14 13:27:57 +02:00
parent 3ad23a44c5
commit cdb8146af5
1 changed files with 9 additions and 4 deletions

View File

@ -231,13 +231,18 @@ PARAM_DEFINE_INT32(LND_FLIGHT_T_HI, 0);
PARAM_DEFINE_INT32(LND_FLIGHT_T_LO, 0);
/**
* Maximum altitude that can be reached prior to subconditions
* Maximum altitude for multicopters
*
* The system will obey this limit as a
* hard altitude limit. This setting will
* be consolidated with the GF_MAX_VER_DIST
* parameter.
*
* @unit m
* @min 10
* @max 150
* @min 1.5
* @max 300
* @decimal 2
* @group Land Detector
*
*/
PARAM_DEFINE_FLOAT(LNDMC_ALT_MAX, 100.0f);
PARAM_DEFINE_FLOAT(LNDMC_ALT_MAX, 10000.0f);