From f5a0a545e51d044cb19000ce8768470e67557b9a Mon Sep 17 00:00:00 2001 From: JafarAbdi Date: Thu, 24 Oct 2024 18:29:07 +0100 Subject: [PATCH] python: Add Task::setRobotModel --- core/python/bindings/src/core.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/python/bindings/src/core.cpp b/core/python/bindings/src/core.cpp index 2d2dfa3f..a926778a 100644 --- a/core/python/bindings/src/core.cpp +++ b/core/python/bindings/src/core.cpp @@ -414,6 +414,7 @@ void export_core(pybind11::module& m) { .def("loadRobotModel", &Task::loadRobotModel, "robot_description"_a = "robot_description", "Load robot model from given ROS parameter") + .def("setRobotModel", &Task::setRobotModel, "robot_model"_a, "Set the robot model for the task") .def("getRobotModel", &Task::getRobotModel) .def("enableIntrospection", &Task::enableIntrospection, "enabled"_a = true, "Enable publishing intermediate results for inspection in ``rviz``")