mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
posix rcS: always disable CPU load check
This commit is contained in:
parent
d96a841050
commit
ffa9fdbd56
@ -185,10 +185,10 @@ then
|
||||
param set SYS_RESTART_TYPE 2
|
||||
|
||||
param set TRIG_INTERFACE 3
|
||||
|
||||
param set COM_CPU_MAX -1
|
||||
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.
|
||||
if [ ! -z $PX4_SIM_SPEED_FACTOR ]; then
|
||||
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);
|
||||
|
||||
/**
|
||||
* Maximum allowed CPU load to still allow arming
|
||||
* Maximum allowed CPU load to still arm
|
||||
*
|
||||
* A negative value disables the check.
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user