commander: RC loss delay renaming/reordering

This commit is contained in:
Matthias Grob
2021-02-04 10:54:52 +01:00
parent e2e5fc85f8
commit b44b770972
5 changed files with 24 additions and 22 deletions
+18 -16
View File
@@ -174,7 +174,7 @@ PARAM_DEFINE_FLOAT(COM_EF_TIME, 10.0f);
/**
* RC loss time threshold
*
* After this amount of seconds without RC connection the rc lost flag is set to true
* After this amount of seconds without RC connection it's considered lost and not used anymore
*
* @group Commander
* @unit s
@@ -185,6 +185,23 @@ PARAM_DEFINE_FLOAT(COM_EF_TIME, 10.0f);
*/
PARAM_DEFINE_FLOAT(COM_RC_LOSS_T, 0.5f);
/**
* Delay between RC loss and configured reaction
*
* RC signal not updated -> still use data for COM_RC_LOSS_T seconds
* Consider RC signal lost -> wait COM_RCL_ACT_T seconds on the spot waiting to regain signal
* React with failsafe action NAV_RCL_ACT
*
* A zero value disables the delay.
*
* @group Commander
* @unit s
* @min 0.0
* @max 25.0
* @decimal 3
*/
PARAM_DEFINE_FLOAT(COM_RCL_ACT_T, 15.0f);
/**
* Home set horizontal threshold
*
@@ -968,18 +985,3 @@ PARAM_DEFINE_FLOAT(COM_LKDOWN_TKO, 3.0f);
* @value 1 Enabled
*/
PARAM_DEFINE_INT32(COM_ARM_ARSP_EN, 1);
/**
* Delay between RC loss and configured reaction
*
* A non-zero, positive value makes the failsafe reaction first stop the vehicle and wait
* before proceeding with the configured failsafe reaction NAV_RCL_ACT.
* A zero or negative value disables the delay.
*
* @group Commander
* @unit s
* @min -1.0
* @max 25.0
* @decimal 3
*/
PARAM_DEFINE_FLOAT(COM_LL_DELAY, 15.0f);