mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 10:01:35 +08:00
commander: add COM_HOME_EN parameter to enable/disable home position
This commit is contained in:
@@ -202,6 +202,17 @@ PARAM_DEFINE_FLOAT(COM_RC_LOSS_T, 0.5f);
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(COM_RCL_ACT_T, 15.0f);
|
||||
|
||||
/**
|
||||
* Home position enabled
|
||||
*
|
||||
* Set home position automatically if possible.
|
||||
*
|
||||
* @group Commander
|
||||
* @reboot_required true
|
||||
* @boolean
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_HOME_EN, 1);
|
||||
|
||||
/**
|
||||
* Home set horizontal threshold
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user