Skip to content

Software

Universal_Robots_ROS2_GZ_Simulation

By Universal Robots A/S, Denmark (checked on github.com/UniversalRobots (opens in a new tab)), from github.com/UniversalRobots/Universal_Robots_ROS2_GZ_Simulat… (opens in a new tab)

  • Simulators
  • Tool
  • BSD-3-Clause

ROS 2 example files and launch configurations for simulating Universal Robots manipulators in Gazebo. Includes launch files for basic control and a MoveIt example.

Facts

GitHub stars
92read on 29 Nov 2026
Last update
9 Nov 2026Newest commit on ros2
Maintenance
Activea commit in the last 90 days
Difficulty
Intermediate

Checked on GitHub on 29 Nov 2026.

Licenses

Code
BSD-3-Clause (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (BSD-3-Clause) at commit 3594fd1 (opens in a new tab), on 15 Nov 2026.

Commercial use
Yes

At a glance

What it is
  • Provides launch files to start a simulated Universal Robots manipulator in Gazebo under ROS 2.
  • Includes a launch file for running MoveIt with the simulated robot.
  • Works with the example move script from the ur_robot_driver package when that is installed.
  • Is built as a colcon workspace package, with dependencies installed through rosdep.
  • Branches target several ROS 2 distributions, from Humble through Rolling.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
BSD-3-Clause. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Active, last commit on 9 Nov 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 3594fd1

Robotheca read the repository at two versions: the summary at 5f0161a and the facts and the README at 3594fd1 (read on 29 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by Universal Robots A/S, at commit 3594fd1, under BSD-3-Clause (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

Universal_Robots_ROS2_GZ_Simulation

Example files and configurations for Gazebo simulation of Universal Robots' manipulators.

Build status
</td>
<td>

(opens in a new tab)

</td>
<td> <!-- Kilted -->

(opens in a new tab)

</td>
<td> <!-- Lyrical -->

(opens in a new tab)

</td>
<td>

(opens in a new tab)

</td>

A more detailed build status (opens in a new tab) 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.

Using the repository

Skip any of below steps is not applicable.

Setup ROS Workspace
  1. Create a colcon workspace:

    export COLCON_WS=~/workspaces/ur_gz
    mkdir -p $COLCON_WS/src
    

    NOTE: Feel free to change ~/workspaces/ur_gz to whatever absolute path you want.

    NOTE: Over time you will probably have multiple ROS workspaces, so it makes sense to them all in a subfolder. Also, it is good practice to put the ROS version in the name of the workspace, for different tests you could just add a suffix to the base name ur_gz.

  2. Download the required repositories and install package dependencies:

    cd $COLCON_WS
    git clone -b ros2 https://github.com/UniversalRobots/Universal_Robots_ROS2_GZ_Simulation.git src/ur_simulation_gz
    rosdep update && rosdep install --ignore-src --from-paths src -y
    
Configure and Build Workspace:

To configure and build workspace execute following commands:

cd $COLCON_WS
colcon build --symlink-install
Running Executable

First, source your workspace

source $COLCON_WS/install/setup.bash
ros2 launch ur_simulation_gz ur_sim_control.launch.py

Move robot using test script from ur_robot_driver package (if you've installed that one):

ros2 run ur_robot_driver example_move.py

Example using MoveIt with simulated robot:

ros2 launch ur_simulation_gz ur_sim_moveit.launch.py

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.