Browse Source

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

sbg
Lorenz Meier 8 years ago
parent
commit
cdb8146af5
  1. 13
      src/modules/land_detector/land_detector_params.c

13
src/modules/land_detector/land_detector_params.c

@ -231,13 +231,18 @@ PARAM_DEFINE_INT32(LND_FLIGHT_T_HI, 0);
PARAM_DEFINE_INT32(LND_FLIGHT_T_LO, 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 * @unit m
* @min 10 * @min 1.5
* @max 150 * @max 300
* @decimal 2 * @decimal 2
* @group Land Detector * @group Land Detector
* *
*/ */
PARAM_DEFINE_FLOAT(LNDMC_ALT_MAX, 100.0f); PARAM_DEFINE_FLOAT(LNDMC_ALT_MAX, 10000.0f);

Loading…
Cancel
Save