ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Sorry for the late reply, but here it is:
You can do this in two ways: either you publish a CollisionObject message on the /collision_object topic, or, you can call processCollisionObjectMsg() function directly on the PlanningScene, if you are in the same process. Furthermore, you can do something like: planning_scene->getWorld()->addToObject("object_name", Shape, Pose);