Home› Programming
Discussion
Back to discussions page
TheoSaify
Wrist Camera URCap 1.3.0 Posts: 13 Apprentice
how to make the robot move in a static trajectory after it locate an object ? |
133 views
|
Answered | |
/ Most recent by TheoSaify
in Programming
|
4 comments |

in Programming
I want the robot to make the same path every time it locate an object. i don't want it to change the path depending on the object orientation.
Tagged:
Best Answer
-
David_Gariepy Beta Tester Beetle, Wrist Camera URCap 1.3.0, Vacuum Beta tester Posts: 190 Handy
@TheoSaify
Using parametric teaching method with a circle, the orientation of the tool should remain the same. For your exit point, it needs to be in a different move node as any movel with the snapshot position variable set as feature will be offset based on the object location.
Could you please share a copy of your program?David Gariépy
Integration Coach
What does the part you need to detect looks like? Could it be taught using the parametric teaching method? The parametric teaching method will avoid unnecessary rotation of the tool to pick a circle, rectangle or square.
If not, then when an object is detected, the object_location variable is updated and containing the detected part's position and orientation relative to the base reference frame. The orientation is always parallel to the work plane on which the calibration has been performed. Thus, the part's X and Y axes are always parallel to the work plane. The Z axis is always normal to the work plane and points downwards from it, into the work plane. You can then use the X,Y,Z position of the object_location and assign it to a position variable.
Please see section 6.2 of the manual for more details about the object_location variable.
Integration Coach
David_Gariepy