I am writing a simple script for universal robots UR10 robotic arm.

I am trying to find a way to to see if the tool current position is outside of a 3D bounding box. the 3D bounding box is defined in the coordinate system of the tool. (y is up, x right, z backwards).

The get_actual_tcp_pose() function returns the tool pose in the 'base frame' coordinate system. it is my understanding that this is the coordinate system where the origin is at the base of the robotic arm.

So my questions are:

  • How do I get the actual tcp pose in the TCP coordinate system (tool space)?
  • Alternatively, how do I convert the pose returned by get_actual_tcp_pose() to the cooridnate system of the TCP using URScript?
  • $\begingroup$ Could You solve this problem? It would be very use for to know the solution. $\endgroup$ – Márton Csukerda Mar 8 '20 at 20:49
  • $\begingroup$ as far as I remember, no. I used a different approach. The UR10 documentation is horrendous. $\endgroup$ – Elad Maimoni Mar 9 '20 at 9:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.