mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-01 10:34:06 +08:00
mc_pos_control_params: add parameter to enable and disable obstacle
avoidance
This commit is contained in:
parent
8662c71d82
commit
6cceca6fe5
@ -603,3 +603,15 @@ PARAM_DEFINE_FLOAT(MPC_TKO_RAMP_T, 0.4f);
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MPC_FLT_TSK, 0);
|
||||
|
||||
/**
|
||||
* Flag to enable obstacle avoidance
|
||||
* Temporary Parameter to enable interface testing
|
||||
*
|
||||
* @min 0
|
||||
* @max 1
|
||||
* @value 0 Obstacle Avoidance Not Enabled
|
||||
* @value 1 Obstacle Avoidance Enabled
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MPC_OBS_AVOID, 0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user