DoF - a Robotiq Community
Warning sign
The Dof Community was shut down in June 2023. This is a read-only archive.
If you have questions about Robotiq products please reach our support team.
bcastets

Just sharing this article from UR about how to "how to Move with respect to a custom feature/frame using URScript language"

https://www.universal-robots.com/articles/ur/urscript-move-with-respect-to-a-custom-featureframe/

This information is useful when you do relative programming.

Here below is a Cheat sheet:

-----------------------------------------------------------------------------------------------------------

  • point_from_base: Point with coordinate expressed in robot base frame
  • point_from_frame: Point with coordinate expressed in custom frame referential.
  • frame: Custom frame. Can be a plane or a point.
-----------------------------------------------------------------------------------------------------------

point_from_base=pose_trans(frame,point_from_frame)

point_from_frame=pose_trans(pose_inv(frame),point_from_base)