posix rcS: always disable CPU load check

This commit is contained in:
Matthias Grob
2020-04-17 17:23:27 +02:00
parent d96a841050
commit ffa9fdbd56
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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)
+1 -1
View File
@@ -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.
* *