From a3e8c4f84f611cc42bbc7e165256b03be3dd8ed2 Mon Sep 17 00:00:00 2001 From: TimS120 Date: Mon, 13 May 2024 19:15:40 +0200 Subject: [PATCH 1/2] Docker-Installation: Update of the development-setup-command; Set as first step to clone the autoware-repository --- .../autoware/docker-installation.md | 27 ++++++++++++------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/docs/installation/autoware/docker-installation.md b/docs/installation/autoware/docker-installation.md index 74d3fef3c5a..446a7b86445 100644 --- a/docs/installation/autoware/docker-installation.md +++ b/docs/installation/autoware/docker-installation.md @@ -15,17 +15,24 @@ Open AD Kit offers two types of Docker image to let you get started with Autowar - NVIDIA Container Toolkit (preferred) - NVIDIA CUDA 12 compatible GPU Driver (preferred) -The [setup script](https://github.com/autowarefoundation/autoware/blob/main/setup-dev-env.sh) will install all required dependencies with the setup script: +1. Clone `autowarefoundation/autoware` and move to the directory. -```bash -./setup-dev-env.sh -y docker -``` + ```bash + git clone https://github.com/autowarefoundation/autoware.git + cd autoware + ``` -To install without **NVIDIA GPU** support: +2. The [setup script](https://github.com/autowarefoundation/autoware/blob/main/setup-dev-env.sh) will install all required dependencies with the setup script: -```bash -./setup-dev-env.sh -y --no-nvidia docker -``` + ```bash + ./setup-dev-env.sh -y docker + ``` + + To install without **NVIDIA GPU** support: + + ```bash + ./setup-dev-env.sh -y --no-nvidia docker + ``` !!! info @@ -62,12 +69,12 @@ Inside the container, you can run the Autoware tutorials by following these link ### Development setup ```bash -./docker/run.sh --devel +./docker/run.sh --devel --workspace path_to_workspace --map-path path_to_map_data ``` !!! info - By default workspace mounted on the container will be current directory, you can change the workspace path by `--workspace path_to_workspace`. For development environments without NVIDIA GPU support use `--no-nvidia`. + For development environments without NVIDIA GPU support use `--no-nvidia`. #### How to set up a workspace From 1834c3171261107fca6fb69a5f78493cdb90fbe3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 17:33:49 +0000 Subject: [PATCH 2/2] style(pre-commit): autofix --- .../autoware/docker-installation.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/installation/autoware/docker-installation.md b/docs/installation/autoware/docker-installation.md index 446a7b86445..0c95d90401f 100644 --- a/docs/installation/autoware/docker-installation.md +++ b/docs/installation/autoware/docker-installation.md @@ -17,22 +17,22 @@ Open AD Kit offers two types of Docker image to let you get started with Autowar 1. Clone `autowarefoundation/autoware` and move to the directory. - ```bash - git clone https://github.com/autowarefoundation/autoware.git - cd autoware - ``` + ```bash + git clone https://github.com/autowarefoundation/autoware.git + cd autoware + ``` 2. The [setup script](https://github.com/autowarefoundation/autoware/blob/main/setup-dev-env.sh) will install all required dependencies with the setup script: - ```bash - ./setup-dev-env.sh -y docker - ``` + ```bash + ./setup-dev-env.sh -y docker + ``` - To install without **NVIDIA GPU** support: + To install without **NVIDIA GPU** support: - ```bash - ./setup-dev-env.sh -y --no-nvidia docker - ``` + ```bash + ./setup-dev-env.sh -y --no-nvidia docker + ``` !!! info