mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
python: Add Task::setRobotModel
This commit is contained in:
parent
821b5951f1
commit
f5a0a545e5
@ -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``")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user