Skip to content

Commit

Permalink
python: Add Task::setRobotModel
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi authored and rhaschke committed Dec 4, 2024
1 parent 4947b0f commit eed1d0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/python/bindings/src/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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``")
Expand Down

0 comments on commit eed1d0c

Please sign in to comment.