itnok.install_ros2_ubuntu
Install ROS2 on Ubuntu
=========================
This guide explains how to install ROS2 on an Ubuntu system.
Steps Involved:
- Package Management using itnok.manage_pkg_ubuntu:
- Ensure the 'build_essentials' package is installed.
- Add the ROS2 repository key.
- Install the selected ROS2 package and basic tools.
- Verify the installed packages.
- Install RTI Connext DDS and middleware (Automatically accepts the license agreement!).
:exclamation: Requirements
There are no specific requirements.
:abcd: Role Variables
Variable | Description | Default Value |
---|---|---|
install_ros2_distro |
Short name of the ROS distribution to install | dashing |
install_ros2 |
Name of the meta package to install (ros-base , desktop ) |
ros-base |
:link: Dependencies
To install dependencies, run:
$ ansible-galaxy install <dependency.name>
You can also install all required Ansible roles easily with:
$ ansible-galaxy install -r requirements.yml
:notebook: Example Playbook
Here's a simple example of how to include this role in your playbooks:
---
- hosts: servers
remote_user: ubuntu # optional (your remote user)
gather_facts: yes # optional
become: yes
roles:
- { role: itnok.install_ros2_ubuntu }
vars:
install_ros2_distro: "dashing"
install_ros2: "desktop"
:guardsman: License
MIT (read more)
Informazioni sul progetto
Install ROS2 on an Ubuntu host.
Installa
ansible-galaxy install itnok.install_ros2_ubuntu
Licenza
mit
Download
1.2k
Proprietario