Skip to content

Commit

Permalink
[Moveitpy] new planning scene message (#2885)
Browse files Browse the repository at this point in the history
  • Loading branch information
JensVanhooydonck authored Jul 11, 2024
1 parent 42c5a29 commit d59cffb
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,15 @@ void initPlanningSceneMonitor(py::module& m)
attached_collision_object_msg (moveit_msgs.msg.AttachedCollisionObject): The attached collision object to apply to the planning scene.
)")

.def("new_planning_scene_message", &planning_scene_monitor::PlanningSceneMonitor::newPlanningSceneMessage,
py::arg("scene"),
R"(
Called to update the planning scene with a new message.
Args:
scene (moveit_msgs.msg.PlanningScene): The new planning scene message.
)")

.def("read_only", &moveit_py::bind_planning_scene_monitor::readOnly,
R"(
Returns a read-only context manager for the planning scene.
Expand Down

0 comments on commit d59cffb

Please sign in to comment.