From 292dce04aa6b2748cc9e17ced73df9580a13f48b Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 31 Jul 2017 17:31:34 +0200 Subject: [PATCH] Gazebo client: Reduce priority to avoid affecting other processes --- Tools/sitl_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/sitl_run.sh b/Tools/sitl_run.sh index 6cd7eca6fe..fe1ee613f6 100755 --- a/Tools/sitl_run.sh +++ b/Tools/sitl_run.sh @@ -107,7 +107,7 @@ then # 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 sleep 3 - gzclient --verbose & + nice -n 20 gzclient --verbose & GUI_PID=`echo $!` fi else