mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
expose timeout property as typed setter
This commit is contained in:
parent
8af44cefc3
commit
80ae01dcca
@ -49,6 +49,10 @@ class Connect : public Connecting {
|
|||||||
public:
|
public:
|
||||||
Connect(std::string name, const solvers::PlannerInterfacePtr &planner);
|
Connect(std::string name, const solvers::PlannerInterfacePtr &planner);
|
||||||
|
|
||||||
|
void setTimeout(const ros::Duration& timeout){
|
||||||
|
setProperty("timeout", timeout.toSec());
|
||||||
|
}
|
||||||
|
|
||||||
void setPathConstraints(moveit_msgs::Constraints path_constraints){
|
void setPathConstraints(moveit_msgs::Constraints path_constraints){
|
||||||
setProperty("path_constraints", std::move(path_constraints));
|
setProperty("path_constraints", std::move(path_constraints));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user