mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 06:30:36 +08:00
Commander: cpuResourcesCheck: add 2 seconds hysteresis to trigger failure
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
committed by
Matthias Grob
parent
ae888b73d0
commit
c054bc2370
@@ -919,7 +919,8 @@ PARAM_DEFINE_INT32(COM_MOT_TEST_EN, 1);
|
||||
PARAM_DEFINE_FLOAT(COM_KILL_DISARM, 5.0f);
|
||||
|
||||
/**
|
||||
* Maximum allowed CPU load to still arm
|
||||
* Maximum allowed CPU load to still arm.
|
||||
* The check fails if the CPU load is above this threshold for 2s.
|
||||
*
|
||||
* A negative value disables the check.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user