Commander: enable failsafe delay for position and mission mode

Instead of directly doing the link loss reaction which by default is RTL a delay
can be configured such that the drone first switches to hold and waits
for the link to be regained.
This commit is contained in:
Matthias Grob
2021-02-04 10:54:52 +01:00
parent fa45eacea3
commit 26d74bf57d
6 changed files with 43 additions and 5 deletions
+15
View File
@@ -968,3 +968,18 @@ PARAM_DEFINE_FLOAT(COM_LKDOWN_TKO, 3.0f);
* @value 1 Enabled
*/
PARAM_DEFINE_INT32(COM_ARM_ARSP_EN, 1);
/**
* Delay between link loss and configured reaction in Position and Mission mode
*
* 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 60.0
* @decimal 3
*/
PARAM_DEFINE_FLOAT(COM_LL_DELAY, 15.0f);