ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

I use collision element in my code but still the robot links crush each other. Why?

asked 2023-06-23 05:35:51 -0500

TP7 gravatar image

I have made a 15 DOF robot and add collision element to avoid internal collisions, but anyway the links collide within each other. I use RViz to visualise the robot.

edit retag flag offensive close merge delete


Can you able to provide more details? please, If possible upload an image to support questions.

  1. What are the steps you have followed till now?
Ranjit Kathiriya gravatar image Ranjit Kathiriya  ( 2023-06-23 06:50:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2023-06-23 07:24:05 -0500

Mike Scheutzow gravatar image

You misunderstand what the collision element is for: it is used by algorithms for detecting collision, but these elements do not directly prevent it. Only some API calls will check for collision and stop the movement. It's your responsibility (or that of the code you chose to run) to not send joint-movement commands that cause collision.

edit flag offensive delete link more


Ok thank you for the update

TP7 gravatar image TP7  ( 2023-06-23 12:57:01 -0500 )edit

Question Tools



Asked: 2023-06-23 05:35:51 -0500

Seen: 54 times

Last updated: Jun 23 '23