rarrais.ros

Robot Operating System (ROS)

Ansible Role to Install ROS on Ubuntu 🤖

Requirements

None.

Role Variables

Here are the available variables with their default values (found in defaults/main.yml):

ros_keyserver: hkp://keyserver.ubuntu.com:80              # Source: ROS Installation instructions
ros_key_id: C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654      # Source: ROS Installation instructions
ros_repository_url: http://packages.ros.org/ros/ubuntu    # Source: ROS Installation instructions

ros_distribution: noetic     # Choices: noetic, melodic, or kinetic (auto-detected based on Ubuntu version)
ros_configuration: ros-base   # Choices: desktop-full, desktop, or ros-base

ros_user:                     # Default username and group for installing ROS workspace
    name: ubuntu
    group: ubuntu

ros_workspaces:               # Directories and builders for ROS workspaces
    catkin_ws: catkin_make    # ROS workspace directory options: catkin_make, catkin_tools, or colcon
    # ros_ws: catkin_tools
    # colcon_ws: colcon

ros_packages:                 # List of ROS packages to install (without ros-<distro> prefix)

Dependencies

None.

Example Playbook

Here’s an example to install the full desktop configuration of ROS with rosbridge-server for a specified (existing) username:

- hosts: localhost
  connection: local
  become: true
  vars:
    ros_user:
        name: rarrais
        group: rarrais
    ros_configuration: desktop-full
    ros_packages:
      - rosbridge-server
  roles:
    - rarrais.ros

License

MIT

Author Information

This role was created in 2019 by Rafael Arrais.

Informazioni sul progetto

An Ansible Role that installs ROS (Robot Operating System) on Ubuntu

Installa
ansible-galaxy install rarrais.ros
Licenza
mit
Download
762
Proprietario