Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All Collections #3

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
9 changes: 9 additions & 0 deletions collections/autoware_control/galaxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace: bouncmpe
name: autoware_control
description: Ansible scripts for Autoware Istanbul CoE
repository: github.com/boundrivesim/autoware-istanbul
version: 0.1.0
readme: README.md
authors:
- Dogan Ulus <[email protected]>
- Mehmet Saracoglu <[email protected]>
6 changes: 6 additions & 0 deletions collections/autoware_control/playbooks/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
- name: Build Autoware Control
hosts: localhost
connection: local
roles:
- role: bounverif.ros.colcon_build
18 changes: 18 additions & 0 deletions collections/autoware_control/playbooks/build_depend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
- name: Build Autoware Control Dependencies
hosts: localhost
connection: local
vars:
rosdep_install_dependency_types:
- buildtool
- buildtool_export
- build_export
- build

roles:
- role: bounverif.ros.ros2_install
- role: bouncmpe.autoware_control.ros_requirements_install
- role: bounverif.ros.cuda_toolkit_install
- role: bounverif.ros.repositories
- role: bounverif.ros.file_operations
- role: bounverif.ros.rosdep_install
21 changes: 21 additions & 0 deletions collections/autoware_control/playbooks/devel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
- name: Create Autoware Control Developing Environment
hosts: localhost
connection: local
vars:
rosdep_install_dependency_types:
- buildtool
- exec
- doc
- buildtool_export
- build_export
- build
- test

roles:
- role: bounverif.ros.ros2_install
- role: bouncmpe.autoware_control.ros_requirements_install
- role: bounverif.ros.cuda_toolkit_install
- role: bounverif.ros.repositories
- role: bounverif.ros.file_operations
- role: bounverif.ros.rosdep_install
231 changes: 231 additions & 0 deletions collections/autoware_control/playbooks/host_vars/localhost.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
# General Vars
ros_workspace: /tmp/autoware-istanbul/ros/autoware_control
ros_source_dir: "{{ ros_workspace }}/src"
ros_build_dir: "{{ ros_workspace }}/build"
ros_install_dir: "/opt/bouncmpe/{{ ros_distro }}"

# Requirement role vars
ros_distro: humble
ros_distro_type: desktop
collection_name: autoware_control
rmw_implementation: rmw_cyclonedds_cpp
base_image: ubuntu:22.04
cuda_base_image: ubuntu:22.04
prebuilt_base_image: ubuntu:22.04
cuda_version: 11.6
cudnn_version: 8.4.1.50-1+cuda11.6
tensorrt_version: 8.4.2-1+cuda11.6
clang_format_version: 16.0.0

# Rosdep role
rosdep_install_init: true

repositories_download_dir: "{{ ros_source_dir }}/downloads"

repositories:
- {
url: https://github.com/autowarefoundation/autoware.universe.git,
dest: "{{ repositories_download_dir }}/{{ collection_name }}/",
version: main
}
# Core
- {
url: https://github.com/autowarefoundation/autoware_msgs.git,
dest: "{{ repositories_download_dir }}/{{ collection_name }}/autoware_msgs",
version: main
}
- {
url: https://github.com/autowarefoundation/autoware_common.git,
dest: "{{ repositories_download_dir }}/{{ collection_name }}/autoware_common",
version: main
}
- {
url: https://github.com/autowarefoundation/autoware_adapi_msgs.git,
dest: "{{ repositories_download_dir }}/{{ collection_name }}/autoware_adapi_msgs",
version: main
}
- {
url: https://github.com/tier4/autoware_auto_msgs.git,
dest: "{{ repositories_download_dir }}/{{ collection_name }}/external/autoware_auto_msgs",
version: tier4/main
}
# Universe
- {
url: https://github.com/tier4/tier4_autoware_msgs.git,
dest: "{{ repositories_download_dir }}/{{ collection_name }}/external/tier4_autoware_msgs",
version: tier4/universe
}

copy_list:
# control
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/control/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/control/"
}
# common
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/autoware_auto_common/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/autoware_auto_common/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/autoware_point_types/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/autoware_point_types/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/autoware_testing/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/autoware_testing/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/component_interface_specs/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/component_interface_specs/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/component_interface_utils/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/component_interface_utils/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/fake_test_node/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/fake_test_node/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/global_parameter_loader/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/global_parameter_loader/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/interpolation/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/interpolation/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/motion_utils/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/motion_utils/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/osqp_interface/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/osqp_interface/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/signal_processing/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/signal_processing/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/tier4_api_utils/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/tier4_api_utils/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/common/tier4_autoware_utils/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/common/tier4_autoware_utils/"
}
# sensing
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/sensing/pointcloud_preprocessor/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/localization/pointcloud_preprocessor/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/sensing/tier4_pcl_extensions/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/localization/tier4_pcl_extensions/"
}
# vehicle
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/vehicle/vehicle_info_util/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/vehicle/vehicle_info_util/"
}
# autoware_adapi_msgs
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/autoware_adapi_msgs/autoware_adapi_v1_msgs/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/autoware_adapi_msgs/autoware_adapi_v1_msgs"
}
# autoware_common
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/autoware_common/autoware_cmake/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/autoware_common/autoware_cmake/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/autoware_common/autoware_lint_common/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/autoware_common/autoware_lint_common/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/autoware_common/autoware_utils/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/autoware_common/autoware_utils/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/autoware_common/tmp/lanelet2_extension/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/autoware_common/tmp/lanelet2_extension/"
}
# autoware_msgs
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/autoware_msgs/autoware_common_msgs/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/autoware_msgs/autoware_common_msgs/"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/autoware_msgs/autoware_planning_msgs/",
dest: "{{ ros_source_dir }}/{{ collection_name }}/autoware_msgs/autoware_planning_msgs/"
}
# external/autoware_auto_msgs
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_control_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_control_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_geometry_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_geometry_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_mapping_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_mapping_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_perception_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_perception_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_planning_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_planning_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_system_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_system_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_vehicle_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/autoware_auto_msgs/autoware_auto_vehicle_msgs"
}
# external/tier4_autoware_msgs
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_auto_msgs_converter",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_auto_msgs_converter"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_control_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_control_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_debug_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_debug_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_external_api_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_external_api_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_map_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_map_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_perception_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_perception_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_planning_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_planning_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_system_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_system_msgs"
}
- {
src: "{{ repositories_download_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_vehicle_msgs",
dest: "{{ ros_source_dir }}/{{ collection_name }}/external/tier4_autoware_msgs/tier4_vehicle_msgs"
}

delete_list:
- "{{ repositories_download_dir }}"
22 changes: 22 additions & 0 deletions collections/autoware_control/playbooks/install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
- name: Install Autoware Control
hosts: localhost
connection: local
vars:
rosdep_install_dependency_types:
- buildtool
- exec
- doc
- buildtool_export
- build_export
- build
- test

roles:
- role: bounverif.ros.ros2_install
- role: bouncmpe.autoware_control.ros_requirements_install
- role: bounverif.ros.cuda_toolkit_install
- role: bounverif.ros.repositories
- role: bounverif.ros.file_operations
- role: bounverif.ros.rosdep_install
- role: bounverif.ros.colcon_build
15 changes: 15 additions & 0 deletions collections/autoware_control/playbooks/runtime_depend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
- name: Runtime Autoware Control Dependencies
hosts: localhost
connection: local
vars:
rosdep_install_dependency_types:
- exec

roles:
- role: bounverif.ros.ros2_install
- role: bouncmpe.autoware_control.ros_requirements_install
- role: bounverif.ros.cuda_toolkit_install
- role: bounverif.ros.repositories
- role: bounverif.ros.file_operations
- role: bounverif.ros.rosdep_install
16 changes: 16 additions & 0 deletions collections/autoware_control/playbooks/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
- name: Build Autoware Control Test Environment
hosts: localhost
connection: local
vars:
rosdep_install_dependency_types:
- test

roles:
- role: bounverif.ros.ros2_install
- role: bouncmpe.autoware_control.ros_requirements_install
- role: bounverif.ros.cuda_toolkit_install
- role: bounverif.ros.repositories
- role: bounverif.ros.file_operations
- role: bounverif.ros.rosdep_install
- role: bounverif.ros.colcon_build
16 changes: 16 additions & 0 deletions collections/autoware_control/playbooks/test_depend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
- name: Test Autoware Control Dependecies
hosts: localhost
connection: local
vars:
rosdep_install_dependency_types:
- test

roles:
- role: bounverif.ros.ros2_install
- role: bouncmpe.autoware_control.ros_requirements_install
- role: bounverif.ros.cuda_toolkit_install
- role: bounverif.ros.repositories
- role: bounverif.ros.file_operations
- role: bounverif.ros.rosdep_install

3 changes: 3 additions & 0 deletions collections/autoware_control/requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
collections:
- source: ./
type: dir
Empty file.
Loading