mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
SITL Launcher: gzserver must be running when gzclient connects
This commit is contained in:
@@ -104,6 +104,9 @@ then
|
||||
if [[ -n "$HEADLESS" ]]; then
|
||||
echo "not running gazebo gui"
|
||||
else
|
||||
# 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 &
|
||||
GUI_PID=`echo $!`
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user