update
This commit is contained in:
parent
c4e86b5e66
commit
0c898021eb
|
|
@ -39,7 +39,7 @@ export TURTLEBOT3_MODEL=burger
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
echo 'source /opt/ros/humble/setup.bash' >> ~/.bashrc
|
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
|
echo 'export TURTLEBOT3_MODEL=burger' >> ~/.bashrc
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ set -euo pipefail
|
||||||
|
|
||||||
ROOT="/workspace"
|
ROOT="/workspace"
|
||||||
|
|
||||||
sleep 30
|
sleep 5
|
||||||
|
|
||||||
set +u
|
set +u
|
||||||
source /opt/ros/humble/setup.bash
|
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"
|
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
|
if ps -p "$GZSIM_PID" > /dev/null; then
|
||||||
echo "[autorun] tb3_gzsim is still running"
|
echo "[autorun] tb3_gzsim is still running"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue