From 0c898021eb4de3f82c1f22850c3f8f8008fbe7d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A4Huang77?= <你ç2366619700@qq.com> Date: Wed, 6 May 2026 02:56:49 +0000 Subject: [PATCH] update --- README.md | 2 +- gzsim_run.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eeb453d..3f6b679 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ export TURTLEBOT3_MODEL=burger ```bash echo 'source /opt/ros/humble/setup.bash' >> ~/.bashrc -echo 'source ~/ros_ws/install/setup.bash' >> ~/.bashrc +echo 'source /workspace/install/setup.bash' >> ~/.bashrc echo 'export TURTLEBOT3_MODEL=burger' >> ~/.bashrc source ~/.bashrc ``` diff --git a/gzsim_run.sh b/gzsim_run.sh index c3e603a..e0a23a6 100755 --- a/gzsim_run.sh +++ b/gzsim_run.sh @@ -4,7 +4,7 @@ set -euo pipefail ROOT="/workspace" -sleep 30 +sleep 5 set +u source /opt/ros/humble/setup.bash @@ -35,7 +35,7 @@ GZSIM_PID=$! echo "[autorun] tb3_gzsim pid=${GZSIM_PID}, log=${LOG_DIR}/tb3_gzsim.log" -sleep 60 +sleep 8 if ps -p "$GZSIM_PID" > /dev/null; then echo "[autorun] tb3_gzsim is still running"