Skip to content

Latest commit

 

History

History
164 lines (125 loc) · 12 KB

README.md

File metadata and controls

164 lines (125 loc) · 12 KB

Universal Robots ROS2 Driver

Universal Robots has become a dominant supplier of lightweight, robotic manipulators for industry, as well as for scientific research and education.

Universal Robot family

This is one of the very first ROS2 manipulator drivers. Some of the new features are enabled by ROS2 and include decreased latency, improved security, and more flexibility regarding middleware configuration. The package contains launch files to quickly get started using the driver as a standalone version or in combination with MoveIt2

This driver is developed on top of Universal_Robots_Client_Library and support some key cobot functionalities like; pause at emergency stop, safeguard stop, automatic speed scaling to avoid violate the safety setting and manually speed scaling from the teach pendant. In addition the externalControl URCap makes it possible to include ROS2 behaviors in the robot program.

The driver is compatible across the entire line of UR robots -- from 3 kg payload to 30 kg payload and includes all robots from the CB3 series and newer.

Check also presentations and videos about this driver.

Release Status

ROS2 Distro Humble Iron Jazzy Rolling
Branch humble iron main main
Release status



The table above shows the build status for each package of this repo from the ROS buildfarm.

A more detailed build status shows the state of all CI workflows inside this repo. Please note that the detailed view is intended for developers, while the one here should give end users an overview of the current released state.

EOL distros

The following distributions are End-Of-Line (EOL). Branches for these exist and released packages are probably available for an unknown amount of time, but it is recommended to upgrade to a supported distribution. For EOL distributions the nightly binary builds from our CI are shown. EOL distributions will receive no more updates and may be lacking features.

Packages in the Repository:

  • ur - Meta-package that provides a single point of installation for the released packages.
  • ur_calibration - tool for extracting calibration information from a real robot.
  • ur_controllers - implementations of controllers specific for UR robots.
  • ur_dashboard_msgs - package defining messages used by dashboard node.
  • ur_moveit_config - example MoveIt configuration for UR robots.
  • ur_robot_driver - driver / hardware interface for communication with UR robots.

System Requirements

Please see the requirements for the Universal_Robots_Client_Library, as this driver is build on top of Universal_Robots_Client_Library.

Note: A fundamental requirement for the driver is using Linux. Currently, there is no support for any other OS.

Getting Started

For getting started, you'll basically need three steps:

  1. Install the driver

    sudo apt-get install ros-rolling-ur

    See the installation instructions for more details and source-build instructions.

  2. Start & Setup the robot. Once you've installed the driver, setup the robot and create a program for external control.

    Please do this step carefully and extract the calibration as explained here. Otherwise the TCP's pose will not be correct inside the ROS ecosystem.

    If no real robot is required, you can use a simulated robot that will behave almost exactly like the real robot.

  3. Start the driver. See the usage documentation for details.

    # Replace ur5e with one of ur3, ur3e, ur5, ur5e, ur10, ur10e, ur16e, ur20, ur30
    # Replace the IP address with the IP address of your actual robot / URSim
    ros2 launch ur_robot_driver ur_control.launch.py ur_type:=ur5e robot_ip:=192.168.56.101
  4. Unless started in headless mode: Run the external_control program by pressing play on the teach pendant.

MoveIt! support

MoveIt! support is built-in into this driver already. Watch MoveIt in action with the Universal Robots ROS2 driver:

Video: MoveIt2 Demo

The video shows free-space trajectory planning around a modeled collision scene object using the MoveIt2 MotionPlanning widget for Rviz2.

See the MoveIt! section of the Usage guide for details.

Expected Changes in the Near Future

  • Trajectory control currently only supports position commands. In the future, velocity control will be added.

Contributor Guidelines

Code is auto-formatted with clang-format 14 whenever a git commit is made. Please ensure these dependencies are installed:

pip3 install pre-commit
sudo apt install clang-format-14

Prepare the pre-commit formatting to run like this:

pre-commit install