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"