Skip to content

Commit 1daef93

Browse files
committed
Add python binding for ModifyPlanningScene::removeObject
1 parent d59acdb commit 1daef93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/python/bindings/src/stages.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ void export_stages(pybind11::module& m) {
116116
117117
.. _CollisionObject: https://docs.ros.org/en/melodic/api/moveit_msgs/html/msg/CollisionObject.html
118118
119-
)", "collision_object"_a);
119+
)", "collision_object"_a)
120+
.def("removeObject", &ModifyPlanningScene::removeObject,
121+
"Remove a CollisionObject_ from the planning scene", "name"_a)
122+
;
120123

121124
properties::class_<CurrentState, Stage>(m, "CurrentState", R"(
122125
Fetch the current PlanningScene / real robot state via the ``get_planning_scene`` service.

0 commit comments

Comments
 (0)