I’m manually entering the arm-down height every time. I want the arm to move down automatically and stop just above the product top, without giving any value manually.
How can I do this using a Python script?
I’m manually entering the arm-down height every time. I want the arm to move down automatically and stop just above the product top, without giving any value manually.
How can I do this using a Python script?
You can modify the origin position of the target component as the robot’s grab point, then use the jointMoveToComponent() function to move above the component, and then use the graspComponent() function to grab the component.
Both of these functions are located in the vcHelpers.Robot2 module, and you can also use the pick in it, which comes with a proximity setting.