A Python interface for controlling and receiving data from a UR robot using the Real-Time Data Exchange (RTDE) interface of the robot.
Project description
A C++ interface for controlling and receiving data from a UR robot using the Real-Time Data Exchange (RTDE) interface of the robot. The interface can also be used with python, through the provided python bindings.
Key Features
- Fast and lightweight interface for programming UR robots.
- Uses the Real-Time Data Exchange (RTDE) of the robot.
- Execute with real-time priority on operating systems with a real-time kernel, see the Real-time Setup Guide
- Available on multiple platforms (Linux, Windows, macOS)
- Can be used from C++ and Python.
- Relies only on STL datatypes and can be used with various robot frameworks.
- Switchable register range (FieldBus / PLC [0..23] or external clients range [24..47])
- Use it with the UR's ExternalControl UR Cap, download it here see how to install it on the robot here. In order to setup ur_rtde for using it see here.
- Easy to install and setup.
Documentation
Documentation with installation and build instructions, examples and API resides at https://sdurobotics.gitlab.io/ur_rtde/
Quick Install
From PPA:
If you are on Ubuntu, you can install ur_rtde with:
sudo add-apt-repository ppa:sdurobotics/ur-rtde
sudo apt-get update
sudo apt install librtde librtde-dev
From PyPi:
If you only want to the use the Python interface, you can install ur_rtde through pip:
pip3 install ur_rtde
:warning: Notice! Make sure your pip version >=19.3, otherwise the install might fail.
Prebuilt python wheels support matrix:
macOS Intel | macOS Apple Silicon | Windows 64bit | Windows 32bit | Windows Arm64 | manylinux x86_64 | manylinux i686 | manylinux aarch64 | manylinux ppc64le | manylinux s390x | |
---|---|---|---|---|---|---|---|---|---|---|
CPython 3.6 | ✅ | :x: | :x: | :x: | :x: | ✅ | ✅ | ✅ | ✅ | ✅ |
CPython 3.7 | ✅ | :x: | ✅ | :x: | :x: | ✅ | ✅ | ✅ | ✅ | ✅ |
CPython 3.8 | ✅ | :x: | ✅ | :x: | :x: | ✅ | ✅ | ✅ | ✅ | ✅ |
CPython 3.9 | ✅ | :x: | ✅ | :x: | ✅¹ | ✅ | ✅ | ✅ | ✅ | ✅ |
CPython 3.10 | ✅ | :x: | ✅ | :x: | ✅¹ | ✅ | ✅ | ✅ | ✅ | ✅ |
CPython 3.11 | ✅ | :x: | ✅ | :x: | ✅¹ | ✅ | ✅ | ✅ | ✅ | ✅ |
CPython 3.12 | ✅ | :x: | ✅ | :x: | ✅¹ | ✅ | ✅ | ✅ | ✅ | ✅ |
PyPy 3.7 v7.3 | ✅ | :x: | ✅ | :x: | :x: | ✅ | ✅ | ✅ | :x: | :x: |
PyPy 3.8 v7.3 | ✅ | :x: | ✅ | :x: | :x: | ✅ | ✅ | ✅ | :x: | :x: |
PyPy 3.9 v7.3 | ✅ | :x: | ✅ | :x: | :x: | ✅ | ✅ | ✅ | :x: | :x: |
¹ Windows arm64 support is experimental.
Dependencies
Compatible Robots
- All CB-Series from CB3/CB3.1 software 3.3
- All e-Series
Compatible Operating Systems
Currently tested on:
- Ubuntu 16.04 (Xenial Xerus)
- Ubuntu 18.04 (Bionic Beaver)
- Ubuntu 20.04 (Focal Fossa)
- Ubuntu 22.04 (Jammy Jellyfish)
- macOS 10.14 (Mojave)
- Windows 10 Pro x64
Contact
If you have any questions or suggestions to the interface, feel free to contact Anders Prier Lindvig anpl@mmmi.sdu.dk or create an issue here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file ur_rtde-1.6.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ur_rtde-1.6.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.6 MB
- Tags: CPython 3.6m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99ca954c2be79664bb6e01b0d9a7475605ee2a869676e4f2e8f27a0004350ed5 |
|
MD5 | 9f086af7bb4ddf265a89bc02647e8284 |
|
BLAKE2b-256 | 69b44d5c05232da12578435e218837265534ca324906b33e9bac79da55854643 |
File details
Details for the file ur_rtde-1.6.0-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: ur_rtde-1.6.0-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 4.8 MB
- Tags: CPython 3.6m, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80c2456cf8ea1d4b850fd2ecb85c00cb57331a9268324c8242e53a138c785b49 |
|
MD5 | 562a852618cb5b196eab618457899d49 |
|
BLAKE2b-256 | e4626d94e34e28e0654fabc22f6ebc1ebf986e9460b801dee7ebcc09a30f2664 |