mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 10:01:35 +08:00
commander: RC loss delay renaming/reordering
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user