Commander: cpuResourcesCheck: add 2 seconds hysteresis to trigger failure

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2023-11-02 17:02:37 +01:00
committed by Matthias Grob
parent ae888b73d0
commit c054bc2370
2 changed files with 28 additions and 14 deletions
+2 -1
View File
@@ -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.
*