Skip to content

Commit

Permalink
make ros2 installation optional
Browse files Browse the repository at this point in the history
Signed-off-by: Yuxuan Liu <[email protected]>
  • Loading branch information
HinsRyu committed Apr 2, 2024
1 parent 918a067 commit 793fd92
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ansible/playbooks/universe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
[Warning] Should the ONNX model files and other artifacts be downloaded alongside setting up the development environment.
Download artifacts? [y/N]
private: false
- name: prompt_install_new_ros2
prompt: |-
[Warning] ROS 2 is required for Autoware. Please refer to https://docs.ros.org/en/humble/Installation.html for more information.
Install ROS 2? [y/N]
default: 'y'
private: false
pre_tasks:
- name: Verify OS
ansible.builtin.fail:
Expand All @@ -36,8 +42,10 @@
roles:
# Autoware base dependencies
- role: autoware.dev_env.ros2
when: prompt_install_new_ros2 == 'y'
- role: autoware.dev_env.ros2_dev_tools
- role: autoware.dev_env.rmw_implementation
when: prompt_install_new_ros2 == 'y'
- role: autoware.dev_env.gdown
- role: autoware.dev_env.build_tools

Expand Down

0 comments on commit 793fd92

Please sign in to comment.