08-03-2023, 09:25 AM
Hi everyone!
I would like to check for collisions during a joint motion between 2 targets using the Python API.
If the robot/gripper collides, I want to get the current joint values of the robot (so that I can later correct them or insert a new point).
I tried using MoveJ_Test, RDK.Collision, RDK.Inside, and try...move...except ERROR_COLLISION functions based on the documentation.
The previous ones were inaccurate, and with the last one, I couldn't implement error handling clearly. How can I achieve this cleanly and accurately?
Thanks!
I would like to check for collisions during a joint motion between 2 targets using the Python API.
If the robot/gripper collides, I want to get the current joint values of the robot (so that I can later correct them or insert a new point).
I tried using MoveJ_Test, RDK.Collision, RDK.Inside, and try...move...except ERROR_COLLISION functions based on the documentation.
The previous ones were inaccurate, and with the last one, I couldn't implement error handling clearly. How can I achieve this cleanly and accurately?
Thanks!