Skip to content

Commit

Permalink
Remove vcs import in ansible (#198)
Browse files Browse the repository at this point in the history
* Remove vcs import in ansible

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

* Update installation steps

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
  • Loading branch information
kosuke55 and Kenji Miyake authored Jul 30, 2021
1 parent 4b1ee36 commit 4874693
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 10 deletions.
1 change: 0 additions & 1 deletion ansible/localhost-setup-ubuntu20.04-devpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@
- { role: cuda, when: yn_gpu == 'y', tags: ["cuda"] }
- { role: tensorrt, when: yn_gpu == 'y', tags: ["tensorrt"] }
- { role: ros2, rosdistro: galactic, tags: ["ros2"] }
- { role: vcs, tags: ["vcs"] }
- { role: autoware, rosdistro: galactic, tags: ["autoware"] }
- { role: pacmod, rosdistro: galactic, tags: ["pacmod"] }
8 changes: 0 additions & 8 deletions ansible/roles/vcs/tasks/main.yml

This file was deleted.

24 changes: 23 additions & 1 deletion docs/tutorial/HowToInstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ mkdir -p ~/workspace
cd ~/workspace
git clone git@github.com:tier4/autoware.proj.git
cd autoware.proj
mkdir src
vcs import src < autoware.proj.repos
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
```

2. Run the setup script to install CUDA, cuDNN 8, OSQP, ROS 2 and TensorRT 7, entering 'y' when prompted (this step will take around 45 minutes)
Expand All @@ -21,7 +24,26 @@ cd autoware.proj

```sh
source ~/.bashrc
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --catkin-skip-building-tests
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
```

> Several modules will report stderr output, but these are just warnings and can be safely ignored.
## Updating workspace

When you update your workspace after installation, please follow the steps below.

```sh
cd autoware.proj
git pull

# Usually you can ignore this step, but note that it sometimes causes errors.
rm -rf src
mkdir src
rm -rf build/ install/ log/

vcs import src < autoware.proj.repos
vcs pull src
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
```

0 comments on commit 4874693

Please sign in to comment.