mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 10:01:35 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user