Skip to content

Commit

Permalink
Add Task's setRobotModel binding
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi committed Oct 24, 2024
1 parent dc8399f commit 382f900
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 @@ -412,6 +412,7 @@ void export_core(pybind11::module& m) {
.def_property_readonly("failures", &Task::failures, "Solutions: Failed Solutions of the stage (read-only)")
.def_property("name", &Task::name, &Task::setName, "str: name of the task displayed e.g. in rviz")

.def("setRobotModel", &Task::setRobotModel, "robot_model"_a, "Set the robot model for the task")
.def("loadRobotModel", &Task::loadRobotModel, "node"_a, "robot_description"_a = "robot_description",
"Load robot model from given ROS parameter")
.def("getRobotModel", &Task::getRobotModel)
Expand Down

0 comments on commit 382f900

Please sign in to comment.