commander: add COM_HOME_EN parameter to enable/disable home position

This commit is contained in:
Daniel Agar
2021-12-23 15:46:31 -05:00
parent 28c34a0484
commit 7d7d707db9
3 changed files with 70 additions and 49 deletions
+11
View File
@@ -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
*