Gazebo client: Reduce priority to avoid affecting other processes

This commit is contained in:
Lorenz Meier
2017-08-01 19:50:35 +02:00
parent a95f02b4a1
commit 292dce04aa
+1 -1
View File
@@ -107,7 +107,7 @@ then
# gzserver needs to be running to avoid a race. Since the launch # gzserver needs to be running to avoid a race. Since the launch
# is putting it into the background we need to avoid it by backing off # is putting it into the background we need to avoid it by backing off
sleep 3 sleep 3
gzclient --verbose & nice -n 20 gzclient --verbose &
GUI_PID=`echo $!` GUI_PID=`echo $!`
fi fi
else else