mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 18:41:35 +08:00
Commander: make optional tilt-check after takeoff (failure detector).
- Introduced COM_LKDOWN_TKO parameter
- Introduced auto disarm for lockdown state
- Do not trigger flight termiantion if system is in lockdown
Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
committed by
Mathieu Bresciani
parent
6358dd400a
commit
a7f2f2908b
@@ -924,3 +924,19 @@ PARAM_DEFINE_FLOAT(COM_CPU_MAX, 90.0f);
|
||||
* @max 4
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_POWER_COUNT, 1);
|
||||
|
||||
/**
|
||||
* Timeout for detecting a failure after takeoff
|
||||
*
|
||||
* A non-zero, positive value specifies the timeframe in seconds within failure detector is allowed to put the vehicle into
|
||||
* a lockdown state if attitude exceeds the limits defined in FD_FAIL_P and FD_FAIL_R.
|
||||
* The check is not executed for flight modes that do support acrobatic maneuvers, e.g: Acro (MC/FW), Rattitude and Manual (FW).
|
||||
* A zero or negative value means that the check is disabled.
|
||||
*
|
||||
* @group Commander
|
||||
* @unit s
|
||||
* @min -1.0
|
||||
* @max 5.0
|
||||
* @decimal 3
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(COM_LKDOWN_TKO, 3.0f);
|
||||
|
||||
Reference in New Issue
Block a user