mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-17 08:31:35 +08:00
Add a collision avoidance library which uses range data
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user