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

Attached object collides with environment

asked 2015-03-23 10:53:27 -0500

bluefish gravatar image

updated 2015-04-28 05:32:33 -0500


I added an object into the world and attached it to the robot as described in this moveit-tutorial. As in the tutorial stated I attached the object with this piece of code:

ROS_INFO("Add an object into the world");


This all works fine, but while moving the robot with the attached object, collisions of this attached object and other objects in the environment are not detected. In fact, the object seems not attached while the robot is moving. It just pops up again at the target pose.

Anybody knows how a collision check can be achieved? (The attached object should be handled as part of the robot after being attached)

Thanks and regards

edit retag flag offensive close merge delete


Anybody an idea how to achieve it? I also tried the publisher from this tutorial. But there I have the same problem...

bluefish gravatar image bluefish  ( 2015-04-23 08:42:13 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2015-04-28 05:37:15 -0500

bluefish gravatar image

updated 2015-04-29 06:12:46 -0500

Okay, I think I found an answer myself now. When attaching the object, I only tried it without the real robot, until now. There, no collision at all was recognized between the attached object and the surrounding as stated above.

Since today I can test it with the real robot and there it seems to work perfectly. Without the real robot the ee_link was not published sufficiently and therefore the attachment did not work properly. At least this is my guess.

So in the end, the piece of code I posted above and which I took from the tutorial works perfectly fine.

edit flag offensive delete link more

answered 2015-04-29 07:05:54 -0500

Simon Schmeisser gravatar image

There is a known bug in Moveit. If you have a link without (collision) geometry, everything further down the kinetic chain will be ignored for collision checking. You can workaround this by adding small spheres or whatever to all links that do not have any collision geometry yet (tool0?)

edit flag offensive delete link more

Question Tools



Asked: 2015-03-23 10:53:27 -0500

Seen: 480 times

Last updated: Apr 29 '15