BTTimeLimit
Inherits: BTDecorator < BTTask < BT
BT decorator that sets a time limit for its child’s execution.
Description
BTTimeLimit allocates a limited time for the child’s execution and aborts it, returning FAILURE if the time_limit is exceeded.
Returns FAILURE if the time_limit is exceeded; otherwise, it returns the status of the child task.
Properties
|
|
Property Descriptions
float time_limit = 5.0 🔗
void set_time_limit(value:
float)floatget_time_limit()
Time allocated for the child task’s execution.