python: Add Task::setRobotModel

This commit is contained in:
JafarAbdi 2024-10-24 18:29:07 +01:00 committed by Robert Haschke
parent 821b5951f1
commit f5a0a545e5

View File

@ -414,6 +414,7 @@ void export_core(pybind11::module& m) {
.def("loadRobotModel", &Task::loadRobotModel, "robot_description"_a = "robot_description", .def("loadRobotModel", &Task::loadRobotModel, "robot_description"_a = "robot_description",
"Load robot model from given ROS parameter") "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("getRobotModel", &Task::getRobotModel)
.def("enableIntrospection", &Task::enableIntrospection, "enabled"_a = true, .def("enableIntrospection", &Task::enableIntrospection, "enabled"_a = true,
"Enable publishing intermediate results for inspection in ``rviz``") "Enable publishing intermediate results for inspection in ``rviz``")