Skip to content

Commit

Permalink
Remove deprecated functions from python API
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahr committed Nov 14, 2024
1 parent 685d2d5 commit ea609e6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,8 @@ void initPlanningScene(py::module& m)
Returns:
bool: true if state is in collision otherwise false.
)")

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
.def("check_collision_unpadded",
py::overload_cast<const collision_detection::CollisionRequest&, collision_detection::CollisionResult&>(
&planning_scene::PlanningScene::checkCollisionUnpadded),
Expand Down Expand Up @@ -410,7 +411,7 @@ void initPlanningScene(py::module& m)
Returns:
bool: true if state is in collision otherwise false.
)")

#pragma GCC diagnostic pop
.def("check_self_collision",
py::overload_cast<const collision_detection::CollisionRequest&, collision_detection::CollisionResult&>(
&planning_scene::PlanningScene::checkSelfCollision),
Expand Down

0 comments on commit ea609e6

Please sign in to comment.