File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
examples/5_docker_turtlesim Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ docker compose build --no-cache turtlesim
5555The easiest way to launch turtlesim with proper X11 setup:
5656
5757``` bash
58- ./launch.sh
58+ ./scrips/ launch.sh
5959```
6060
6161This script automatically detects your OS and handles all platform-specific X11 configuration. It will:
@@ -69,17 +69,17 @@ If you prefer manual control or the automatic script doesn't work:
6969
7070** macOS:**
7171``` bash
72- ./docker/ scripts/launch_macos.sh
72+ ./scripts/launch_macos.sh
7373```
7474
7575** Linux (or Windows WSL):**
7676``` bash
77- ./docker/ scripts/launch_linux.sh
77+ ./scripts/launch_linux.sh
7878```
7979
8080** Windows:**
8181``` bash
82- ./docker/ scripts/launch_windows.sh
82+ ./scripts/launch_windows.sh
8383```
8484
8585The container will automatically start both turtlesim and rosbridge websocket server. You should see:
Original file line number Diff line number Diff line change @@ -9,22 +9,22 @@ OS_TYPE=$(uname -s)
99case " $OS_TYPE " in
1010 Darwin* )
1111 echo " Detected macOS - launching with XQuartz support..."
12- ./docker/ scripts/launch_macos.sh
12+ ./scripts/launch_macos.sh
1313 ;;
1414 Linux* )
1515 echo " Detected Linux - launching with X11 support..."
16- ./docker/ scripts/launch_linux.sh
16+ ./scripts/launch_linux.sh
1717 ;;
1818 MINGW* |MSYS* |CYGWIN* )
1919 echo " Detected Windows - launching with X server support..."
20- ./docker/ scripts/launch_windows.sh
20+ ./scripts/launch_windows.sh
2121 ;;
2222 * )
2323 echo " Unsupported OS: $OS_TYPE "
2424 echo " Please run the appropriate script manually:"
25- echo " - macOS: ./docker/ scripts/launch_macos.sh"
26- echo " - Linux: ./docker/ scripts/launch_linux.sh"
27- echo " - Windows: ./docker/ scripts/launch_windows.sh"
25+ echo " - macOS: ./scripts/launch_macos.sh"
26+ echo " - Linux: ./scripts/launch_linux.sh"
27+ echo " - Windows: ./scripts/launch_windows.sh"
2828 exit 1
2929 ;;
3030esac
You can’t perform that action at this time.
0 commit comments