Library implements API for Universal Robots RTDE realtime interface.
Full RTDE description is available on Universal Robots support site
RTDE core library
rtde.py: RTDE connection management object
rtde_config.py: XML configuration files parser
csv_writer.py, csv_reader.py: read and write rtde data objects to text csv files
It's recommended to run examples in virtual environment. Some require additional libraries.
python record.py -h
python record.py --host 192.168.0.1 --frequency 10
RTDE can connect from host system to controller running in Docker when RTDE port 30004 is forwarded.
More information about ursim docker image is available on Dockerhub
RTDE can connect from host system to controller running in VirtualBox when RTDE port 30004 is forwarded.
Copy rtde folder python project Library is compatible with Python 2.7+, and Python 3.6+
mvn package
Create virtual environment, and install wheel package
python -m venv venv
source venv/bin/activate
pip install wheel
Install rtde package
pip install target/rtde-<version>-release.zip
If Python3 is not installed, then just run python3 from powershell. Microsoft store will launch the installation.
Permission to run scripts in console is needed to activate virtual envrionment.
set-executionpolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
python -m venv venv
venv/Scripts/Activate.ps1
pip install wheel
Install rtde package
pip install target/rtde-<version>-release.zip
Code is formatted with black. Run code formatter before submitting pull request.