Python RDTE Library

Hello,

Can any technical expert tell me how I can receive robot status data (joint positions, TCP pose, etc) realtime from UR10 CB2 controller using Python RDTE library? I would appreciate that.

Thanks,
Murat

Hi,

I am not a technical expert, but I was able to get the Python RTDE library working on my UR3e arm. I’m not sure what the differences are between the UR10 CB2 and the UR5e, but this I what I used:

https://github.com/davizinho5/RTDE_control_example/blob/master/example.py

The important part for me was ensuring that I set the robot host correctly (on the teach pendent you have to set the host IP address) and that my computer was connected via an ethernet port on the same subnet. For example, I set my Windows computer IP address to be 192.168.0.31 and the robot’s to be 192.168.0.32, and then verified I could get a connection by simply running ping 192.168.0.32 from my computer. I also found that turning off WiFi made it easier for me to connect via ethernet to the robot.

Here is a “How to RTDE” document on how to set up hardware and connection.:

1 Like