更新 run_all.sh

This commit is contained in:
administrator 2026-05-07 03:09:52 +00:00
parent 6431727f4a
commit 7c4ff06d3b
1 changed files with 347 additions and 345 deletions

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
export DISPLAY=:1
# Unified launcher for TurtleBot3 office workflow:
# - Terminal A: simulation / bridge / (optional SLAM) / RViz
@ -37,11 +38,12 @@ MAP_YAML="${NAV2_MAP_PATH:-$MAP_YAML_DEFAULT}"
MAP_BASENAME="${MAP_BASENAME:-$MAP_BASENAME_DEFAULT}"
WITH_EXPLORE=false
WITH_GZWE`B`=false
WITH_GZWE=false
NO_RVIZ=false
# 与 --gzweb 同用:只起 gz websocket(9002) 等资源,不起 office 内 npm run dev页面用镜像内 /opt/gzwebfoundation
NO_GZWEB_VITE=false
while [[ $# -gt 0 ]]; do
case "$1" in
--explore) WITH_EXPLORE=true; shift ;;