Hello! Im coding in python controlling program for ur5 robot and i need to know how to get x, y , z etc coordinates from robot. Is there any easy way to do it? And does rtde work for it?
You can use the RTDE interface to get the data from the robot (not just the Cartesian position, but also the joint angles, input values, etc).
This UR guide has at the end of the page the documentation and a Python package with different examples.
I am personally not that good with documentation, so I followed this Youtube tutorial series on how to handle those Python examples.