Skip to content

Commit

Permalink
(moveit_py) execute needs a gil_scoped_release (#2573)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh authored Dec 4, 2023
1 parent bddab3f commit 2c10283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moveit_py/src/moveit/moveit_ros/moveit_cpp/moveit_cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void initMoveitPy(py::module& m)
.def("execute",
py::overload_cast<const robot_trajectory::RobotTrajectoryPtr&, const std::vector<std::string>&>(
&moveit_cpp::MoveItCpp::execute),
py::arg("robot_trajectory"), py::arg("controllers"),
py::arg("robot_trajectory"), py::arg("controllers"), py::call_guard<py::gil_scoped_release>(),
R"(
Execute a trajectory (planning group is inferred from robot trajectory object).
)")
Expand Down

0 comments on commit 2c10283

Please sign in to comment.