mc_pos_control_params: set the ground slow down speed to the default maximum speed

This results in no change with defaults but a slow down to 10m/s if the maxiumum speed is set higher than that.
This commit is contained in:
Matthias Grob
2020-06-04 09:44:23 +02:00
committed by Daniel Agar
parent bcd771d832
commit 588d551098
@@ -347,7 +347,7 @@ PARAM_DEFINE_FLOAT(MPC_TILTMAX_LND, 12.0f);
PARAM_DEFINE_FLOAT(MPC_LAND_SPEED, 0.7f);
/**
* Maximum horizontal velocity during landing
* Maximum horizontal position mode velocity when close to ground/home altitude
* Set the value higher than the otherwise expected maximum to disable any slowdown.
*
* @unit m/s
@@ -355,7 +355,7 @@ PARAM_DEFINE_FLOAT(MPC_LAND_SPEED, 0.7f);
* @decimal 1
* @group Multicopter Position Control
*/
PARAM_DEFINE_FLOAT(MPC_LAND_VEL_XY, 2.f);
PARAM_DEFINE_FLOAT(MPC_LAND_VEL_XY, 10.0f);
/**
* Enable user assisted descent speed for autonomous land routine.