When I use the ur_rtde Python package, it prompts "RuntimeError: One of the RTDE input registers are already in use!"

When I use the “ur_rtde” Python package, it prompts “RuntimeError: One of the RTDE input registers are already in use! Currently you must disable the EtherNet/IP adapter, PROFINET, or any MODBUS unit configured on the robot. This might change in the future.
The error occurs when executing:

import rtde_control
rtde_c = rtde_control.RTDEControlInterface(“192.168.1.8”)

I have already disabled the EtherNet/IP, PROFINET, and MODBUS services in the UR controller, but the issue still persists.
Could you please advise on how to resolve this? This problem needs to be addressed urgently due to project requirements. Thank you!

Can you post your full code?
What is your RTDE config file?
How did you install the Python Package?
It looks like you are not using the official ur-rtde package but instead the one from sdu create.
This is the official one:

I bellieve you are using this one:
https://sdurobotics.gitlab.io/ur_rtde/api/api.html

1 Like