mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
document timeout() helpers
This commit is contained in:
parent
6b4b4ca624
commit
ac3b56a160
@ -155,10 +155,16 @@ public:
|
||||
virtual void init(const moveit::core::RobotModelConstPtr& robot_model);
|
||||
|
||||
const ContainerBase* parent() const;
|
||||
|
||||
const std::string& name() const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
/** set computation timeout (in seconds)
|
||||
*
|
||||
* The logic of the individual stage should ensure this limit is respected.
|
||||
*/
|
||||
void setTimeout(double timeout) { setProperty("timeout", timeout); }
|
||||
/// timeout of stage per computation
|
||||
double timeout() const { return properties().get<double>("timeout"); }
|
||||
|
||||
/// forwarding of properties between interface states
|
||||
|
||||
Loading…
Reference in New Issue
Block a user