moveit / moveit_tutorials

A sphinx-based centralized documentation repo for MoveIt
https://moveit.github.io/moveit_tutorials/
BSD 3-Clause "New" or "Revised" License
463 stars 692 forks source link

Errors in the tutorial "Move Group C++ Interface" #785

Closed struggler-lu closed 1 year ago

struggler-lu commented 1 year ago

Description

I follow the tutorial to operate and I met the errors when I tried to attach objects to the robot and plan the path.The start state was in collision so the path planning was failed.The errors encountered are shown in the following figures. image Figure1 image Figure2

It seems that there is a collision between the object attached to the robot and the grippers.

image

Your environment

Steps to reproduce

I followed this tutorial: https://ros-planning.github.io/moveit_tutorials/doc/move_group_interface/move_group_interface_tutorial.html#

Expected behaviour

The result may look something like the GIFs in the tutorial.

welcome[bot] commented 1 year ago

Thanks for reporting an issue. Because we're a volunteer community, providing a pull request with suggested changes is always welcomed.

rhaschke commented 1 year ago

Thanks for reporting. The solution is to declare touch_links, i.e. links which are allowed to touch the object.