Skip to content

Commit

Permalink
docs(installation): fix run.sh documentation (#530)
Browse files Browse the repository at this point in the history
Signed-off-by: oguzkaganozt <[email protected]>
  • Loading branch information
oguzkaganozt authored Mar 7, 2024
1 parent 6f66399 commit 0910215
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions docs/installation/autoware/docker-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ You can use `run.sh` to run the Autoware runtime container with the map data:
./docker/run.sh --map-path path_to_map_data
```

!!! info

You can use `--no-nvidia` to run without NVIDIA GPU support, and `--headless` to run without display that means no RViz visualization.

For more launch options you can edit the launch command with `--launch-cmd` option:
For more launch options, you can append a custom launch command instead of using the default launch command `ros2 launch autoware_launch autoware.launch.xml`:

```bash
./docker/run.sh --map-path path_to_map_data --launch-cmd "ros2 launch autoware_launch autoware.launch.xml map_path:=/autoware_map vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit"
./docker/run.sh --map-path path_to_map_data ros2 launch autoware_launch autoware.launch.xml map_path:=/autoware_map vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit
```

!!! info

You can use `--no-nvidia` to run without NVIDIA GPU support, and `--headless` to run without display that means no RViz visualization.

#### Run the Autoware tutorials

Inside the container, you can run the Autoware tutorials by following these links:
Expand Down Expand Up @@ -113,11 +113,7 @@ Using the [Visual Studio Code](https://code.visualstudio.com/) with the [Remote
Get the Visual Studio Code's [Remote - Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) extension.
And reopen the workspace in the container by selecting `Remote-Containers: Reopen in Container` from the Command Palette (`F1`).
By default, devcontainer assumes NVIDIA GPU support, you can change this by deleting these lines within `.devcontainer/devcontainer.json`:
!!! warning
Under Construction
You can choose Autoware or Autoware-cuda image to develop with or without CUDA support.
## Building Docker images from scratch
Expand Down

0 comments on commit 0910215

Please sign in to comment.