Rename parameter MPC_OBS_AVOID to COM_OBS_AVOID and change the location to commander.

This commit is contained in:
baumanta
2018-12-19 11:19:45 +01:00
committed by Beat Küng
parent f42b378b9b
commit d42b9205f9
7 changed files with 18 additions and 19 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ private:
(ParamInt<px4::params::COM_LOW_BAT_ACT>) _low_bat_action,
(ParamFloat<px4::params::COM_DISARM_LAND>) _disarm_when_landed_timeout,
(ParamInt<px4::params::MPC_OBS_AVOID>) _obs_avoid
(ParamInt<px4::params::COM_OBS_AVOID>) _obs_avoid
)
const int64_t POSVEL_PROBATION_MIN = 1_s; /**< minimum probation duration (usec) */
+9
View File
@@ -811,3 +811,12 @@ PARAM_DEFINE_INT32(NAV_DLL_ACT, 0);
* @group Mission
*/
PARAM_DEFINE_INT32(NAV_RCL_ACT, 2);
/**
* Flag to enable obstacle avoidance
* Temporary Parameter to enable interface testing
*
* @boolean
* @group Mission
*/
PARAM_DEFINE_INT32(COM_OBS_AVOID, 0);