ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You definitely do not want to attach your wall to your planning group in the end. Attaching only makes sense for objects the robot grasped.
Use planning_scene_interface.applyCollisionObject
instead of addCollisionObject
unless you know what you are doing.
This should spawn your object successfully.
We should really rework the tutorial here and advertise apply*
as the default option...
Notice that if your workspace is static throughout runtime, the more simple way to add walls is to model them as part of the robot in your urdf/xacro instead. In that case they also remain there after someone clears the planning scene.