mc_pos_control - add takeoff_ramp_time zero division guard

This commit is contained in:
bresch
2019-02-13 20:56:57 +01:00
parent 70ddb8049a
commit 106f0769fd
2 changed files with 15 additions and 9 deletions
@@ -650,8 +650,9 @@ PARAM_DEFINE_FLOAT(MPC_LAND_ALT2, 5.0f);
*
* Increasing this value will make automatic and manual takeoff slower.
* If it's too slow the drone might scratch the ground and tip over.
* A time constant of 0 disables the ramp
*
* @min 0.1
* @min 0
* @max 1
* @group Multicopter Position Control
*/