Add a collision avoidance library which uses range data

This commit is contained in:
baumanta
2018-11-20 14:11:33 +01:00
committed by Beat Küng
parent 1d12827408
commit db514fe441
14 changed files with 415 additions and 0 deletions
@@ -737,3 +737,22 @@ PARAM_DEFINE_INT32(MPC_OBS_AVOID, 0);
* @group Mission
*/
PARAM_DEFINE_INT32(MPC_YAW_MODE, 0);
/**
* Flag to enable the use of a range sensor for collision avoidance.
*
* @boolean
* @group Multicopter Position Control
*/
PARAM_DEFINE_INT32(MPC_COL_AVOID, 0);
/**
* Minimum Obstacle Distance at which the vehicle should not get closer
*
* Only relevant if in Position control and the range sensor is active
*
* @min 0
* @max 15
* @unit meters
* @group Multicopter Position Control
*/
PARAM_DEFINE_FLOAT(MPC_COL_AVOID_D, 4.0f);