mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-04 00:01:36 +08:00
mc_pos_control_params: add parameter to enable and disable obstacle
avoidance
This commit is contained in:
@@ -603,3 +603,15 @@ PARAM_DEFINE_FLOAT(MPC_TKO_RAMP_T, 0.4f);
|
|||||||
* @group Multicopter Position Control
|
* @group Multicopter Position Control
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(MPC_FLT_TSK, 0);
|
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user