itnok.install_ros2_ubuntu

Install ROS2 on Ubuntu

=========================

Build Status GitHub tag Ansible Role

This guide explains how to install ROS2 on an Ubuntu system.

Steps Involved:

  1. 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.
  2. Verify the installed packages.
  3. 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

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