Skip to content

Commit f5a0a54

Browse files
JafarAbdirhaschke
authored andcommitted
python: Add Task::setRobotModel
1 parent 821b595 commit f5a0a54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/python/bindings/src/core.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ void export_core(pybind11::module& m) {
414414

415415
.def("loadRobotModel", &Task::loadRobotModel, "robot_description"_a = "robot_description",
416416
"Load robot model from given ROS parameter")
417+
.def("setRobotModel", &Task::setRobotModel, "robot_model"_a, "Set the robot model for the task")
417418
.def("getRobotModel", &Task::getRobotModel)
418419
.def("enableIntrospection", &Task::enableIntrospection, "enabled"_a = true,
419420
"Enable publishing intermediate results for inspection in ``rviz``")

0 commit comments

Comments
 (0)