mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-11 09:21:36 +08:00
PreFlightCheck: add checks for CPU and RAM load
This commit is contained in:
committed by
Julian Oes
parent
9ae2f0ea96
commit
8b76c0c023
@@ -899,3 +899,16 @@ PARAM_DEFINE_INT32(COM_MOT_TEST_EN, 1);
|
||||
* @increment 0.1
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(COM_KILL_DISARM, 5.0f);
|
||||
|
||||
/**
|
||||
* Maximum allowed CPU load to still allow arming
|
||||
*
|
||||
* A negative value disables the check.
|
||||
*
|
||||
* @group Commander
|
||||
* @unit %
|
||||
* @min -1
|
||||
* @max 100
|
||||
* @increment 1
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(COM_CPU_MAX, 90.0f);
|
||||
|
||||
Reference in New Issue
Block a user