ros
Robot Operating System (ROS)
An Ansible Role that installs ROS (Robot Operating System) on Ubuntu. 🤖
Requirements
None.
Role Variables
Available variables are listed below, along with default values (see defaults/main.yml
):
ros_keyserver: hkp://keyserver.ubuntu.com:80 # Retrieved from ROS Installation instructions
ros_key_id: C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 # Retrieved from ROS Installation instructions
ros_repository_url: http://packages.ros.org/ros/ubuntu # Retrieved from ROS Installation instructions
ros_distribution: noetic # noetic OR melodic OR kinetic (automatically discoverable according to Ubuntu version)
ros_configuration: ros-base # desktop-full OR desktop OR ros-base
ros_user: # Default username and group for ROS workspace installation
name: ubuntu
group: ubuntu
ros_workspaces: # ROS workspaces directories and builders definition
catkin_ws: catkin_make # ROS workspace directory : catkin_make OR catkin_tools OR colcon
# ros_ws: caktin_tools
# colcon_ws: colcon
ros_packages: # List of ROS packages to be installed without ros-<distro> prefix
Dependencies
None.
Example Playbook
Example to install ROS desktop-full configuration with rosbridge-server on the host system with a custom (existing) username:
- hosts: localhost
connection: local
become: true
vars:
ros_user:
name: ubuntu
group: ubuntu
ros_configuration: desktop-full
ros_packages:
- rosbridge-server
roles:
- dragomirr.ros
License
MIT
Author Information
This role was created in 2019 by Rafael Arrais.