Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/5_docker_turtlesim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ docker compose build --no-cache turtlesim
The easiest way to launch turtlesim with proper X11 setup:

```bash
./launch.sh
./scrips/launch.sh
```

This script automatically detects your OS and handles all platform-specific X11 configuration. It will:
Expand All @@ -69,17 +69,17 @@ If you prefer manual control or the automatic script doesn't work:

**macOS:**
```bash
./docker/scripts/launch_macos.sh
./scripts/launch_macos.sh
```

**Linux (or Windows WSL):**
```bash
./docker/scripts/launch_linux.sh
./scripts/launch_linux.sh
```

**Windows:**
```bash
./docker/scripts/launch_windows.sh
./scripts/launch_windows.sh
```

The container will automatically start both turtlesim and rosbridge websocket server. You should see:
Expand Down
12 changes: 6 additions & 6 deletions examples/5_docker_turtlesim/scripts/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ OS_TYPE=$(uname -s)
case "$OS_TYPE" in
Darwin*)
echo "Detected macOS - launching with XQuartz support..."
./docker/scripts/launch_macos.sh
./scripts/launch_macos.sh
;;
Linux*)
echo "Detected Linux - launching with X11 support..."
./docker/scripts/launch_linux.sh
./scripts/launch_linux.sh
;;
MINGW*|MSYS*|CYGWIN*)
echo "Detected Windows - launching with X server support..."
./docker/scripts/launch_windows.sh
./scripts/launch_windows.sh
;;
*)
echo "Unsupported OS: $OS_TYPE"
echo " Please run the appropriate script manually:"
echo " - macOS: ./docker/scripts/launch_macos.sh"
echo " - Linux: ./docker/scripts/launch_linux.sh"
echo " - Windows: ./docker/scripts/launch_windows.sh"
echo " - macOS: ./scripts/launch_macos.sh"
echo " - Linux: ./scripts/launch_linux.sh"
echo " - Windows: ./scripts/launch_windows.sh"
exit 1
;;
esac