mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 16:31:36 +08:00
Gazebo client: Reduce priority to avoid affecting other processes
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user