-
Notifications
You must be signed in to change notification settings - Fork 3.2k
/
Copy pathuniverse.yaml
70 lines (64 loc) · 2.66 KB
/
universe.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
- name: Set up source development environments for Autoware Universe
hosts: localhost
connection: local
vars_prompt:
- name: prompt_install_nvidia
prompt: |-
[Warning] Some Autoware components depend on the CUDA, cuDNN and TensorRT NVIDIA libraries which have end-user license agreements that should be reviewed before installation.
Install NVIDIA libraries? [y/N]
private: false
- name: prompt_download_artifacts
prompt: |-
[Warning] Should the ONNX model files and other artifacts be downloaded alongside setting up the development environment.
Download artifacts? [y/N]
private: false
- name: install_devel
prompt: |-
[Warning] Do you want to install recommended development tools for Autoware? [y/N]
private: false
default: y
pre_tasks:
- name: Verify OS
ansible.builtin.fail:
msg: Only Ubuntu 22.04 is supported for this branch. Please refer to https://autowarefoundation.github.io/autoware-documentation/main/installation/autoware/source-installation/.
when: ansible_distribution_version != '22.04'
- name: Print args
ansible.builtin.debug:
msg:
- rosdistro: "{{ rosdistro }}"
- rmw_implementation: "{{ rmw_implementation }}"
- cuda_version: "{{ cuda_version }}"
- cudnn_version: "{{ cudnn_version }}"
- tensorrt_version: "{{ tensorrt_version }}"
- name: Show a warning if the NVIDIA libraries will not be installed
ansible.builtin.pause:
seconds: 10
prompt: |
[Warning] Skipping installation of NVIDIA libraries. Please manually install them if you plan to use any dependent components.
when: prompt_install_nvidia != 'y'
roles:
# Autoware base dependencies
- role: autoware.dev_env.ros2
- role: autoware.dev_env.ros2_dev_tools
- role: autoware.dev_env.rmw_implementation
- role: autoware.dev_env.gdown
- role: autoware.dev_env.build_tools
# Autoware module dependencies
- role: autoware.dev_env.geographiclib
- role: autoware.dev_env.cuda
when: prompt_install_nvidia == 'y'
- role: autoware.dev_env.pacmod
when: rosdistro != 'rolling'
- role: autoware.dev_env.tensorrt
when: prompt_install_nvidia == 'y'
# cspell:ignore spconv
- role: autoware.dev_env.spconv
when: prompt_install_nvidia == 'y'
# Autoware devel dependencies
- role: autoware.dev_env.dev_tools
when: install_devel == 'y'
# ONNX files and other artifacts
- role: autoware.dev_env.artifacts
when: prompt_download_artifacts == 'y'
# Qt5ct setup (RViz theme)
- role: autoware.dev_env.qt5ct_setup