mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
posix rcS: always disable CPU load check
This commit is contained in:
@@ -185,10 +185,10 @@ then
|
|||||||
param set SYS_RESTART_TYPE 2
|
param set SYS_RESTART_TYPE 2
|
||||||
|
|
||||||
param set TRIG_INTERFACE 3
|
param set TRIG_INTERFACE 3
|
||||||
|
|
||||||
param set COM_CPU_MAX -1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
param set COM_CPU_MAX -1 # disable check, no CPU load reported on posix yet
|
||||||
|
|
||||||
# Adapt timeout parameters if simulation runs faster or slower than realtime.
|
# Adapt timeout parameters if simulation runs faster or slower than realtime.
|
||||||
if [ ! -z $PX4_SIM_SPEED_FACTOR ]; then
|
if [ ! -z $PX4_SIM_SPEED_FACTOR ]; then
|
||||||
COM_DL_LOSS_T_LONGER=$(echo "$PX4_SIM_SPEED_FACTOR * 10" | bc)
|
COM_DL_LOSS_T_LONGER=$(echo "$PX4_SIM_SPEED_FACTOR * 10" | bc)
|
||||||
|
|||||||
@@ -901,7 +901,7 @@ PARAM_DEFINE_INT32(COM_MOT_TEST_EN, 1);
|
|||||||
PARAM_DEFINE_FLOAT(COM_KILL_DISARM, 5.0f);
|
PARAM_DEFINE_FLOAT(COM_KILL_DISARM, 5.0f);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum allowed CPU load to still allow arming
|
* Maximum allowed CPU load to still arm
|
||||||
*
|
*
|
||||||
* A negative value disables the check.
|
* A negative value disables the check.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user