RoboDK Forum
Check if pose is within the workspace of a robot- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: Check if pose is within the workspace of a robot (/ Thread-Check-if-pose-is-within-the-workspace-of-a-robot)



Check if pose is within the workspace of a robot-davide_tiraboschi-05-25-2023

Hi,
I am currently working on a simulation or RoboDK where I generate poses through the Matlab API. I want to check if the generated poses are within the robot's workspace. Can someone help me with the script?

Thank you


RE: Check if pose is within the workspace of a robot-Sam-05-26-2023

You can check if a pose is reachable through the API by using the MoveJ_Test and MoveL_Test commands.
//www.sinclairbody.com/doc/en/PythonAPI/robodk.html?highlight=movej_test#robodk.robolink.Item.MoveJ_Test
//www.sinclairbody.com/doc/en/PythonAPI/robodk.html?highlight=movej_test#robodk.robolink.Item.MoveL_Test