Home› Programming
Discussion
Back to discussions page
bcastets
Vacuum Beta tester Posts: 325 Handy
URscript: Calculate point coordinate from a custom frame |
52 views
|
Not answered yet | |
/ Started by Unknown
in Programming
|
0 comments |

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)
Tagged: