diff --git a/core/python/bindings/src/solvers.cpp b/core/python/bindings/src/solvers.cpp index e56c03eb..a1d3b405 100644 --- a/core/python/bindings/src/solvers.cpp +++ b/core/python/bindings/src/solvers.cpp @@ -39,6 +39,7 @@ #include namespace py = pybind11; +using namespace py::literals; using namespace moveit::task_constructor; using namespace moveit::task_constructor::solvers; @@ -79,7 +80,7 @@ void export_solvers(py::module& m) { .property("goal_orientation_tolerance", "float: Tolerance for reaching orientation goals") .property("display_motion_plans", "bool: Publish generated solutions via a topic") .property("publish_planning_requests", "bool: Publish motion planning requests via a topic") - .def(py::init<>()); + .def(py::init(), "pipeline"_a = std::string("ompl")); properties::class_( m, "JointInterpolationPlanner",