https://github.com/universalrobots/universal_robots_ros2_tutorials
Tutorials around the Universal Robots ROS 2 ecosystem
https://github.com/universalrobots/universal_robots_ros2_tutorials
Last synced: 6 months ago
JSON representation
Tutorials around the Universal Robots ROS 2 ecosystem
- Host: GitHub
- URL: https://github.com/universalrobots/universal_robots_ros2_tutorials
- Owner: UniversalRobots
- License: bsd-3-clause
- Created: 2024-05-06T08:10:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-22T14:40:35.000Z (8 months ago)
- Last Synced: 2025-04-22T15:44:38.238Z (8 months ago)
- Language: Python
- Homepage:
- Size: 1.45 MB
- Stars: 15
- Watchers: 2
- Forks: 12
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Universal Robots ROS 2 tutorials
This package contains tutorials around the ROS 2 packages for Universal Robots.
## Getting started
To use the tutorials from this repository, please make sure to [install ROS
2](https://docs.ros.org/en/rolling/Installation.html) on your system. Currently, only ROS Jazzy and
Rolling are supported.
With that, please create a workspace, clone this repo into the workspace, install the dependencies
and build the workspace.
1. Create a colcon workspace:
```
export COLCON_WS=~/workspaces/ur_tutorials
mkdir -p $COLCON_WS/src
```
1. Download the required repositories and install package dependencies:
```
cd $COLCON_WS
git clone https://github.com/UniversalRobots/Universal_Robots_ROS2_Tutorials.git src/ur_tutorials
rosdep update && rosdep install --ignore-src --from-paths src -y
```
1. Create a colcon workspace:
```
cd $COLCON_WS
colcon build
```
1. Source your workspace
```
source $COLCON_WS/install/setup.bash
```
1. Launch an example
e.g. the custom workcell example
```
ros2 launch my_robot_cell_control start_robot.launch.py use_mock_hardware:=true
```