2022-11-01 20:31:22 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-04-10 14:57:36 +00:00
<class name= "BTRandomWait" inherits= "BTAction" version= "4.1" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../../../doc/class.xsd" >
2022-11-01 20:31:22 +00:00
<brief_description >
2023-10-19 12:27:02 +00:00
BT action that waits for a randomized duration to elapse and then returns [code]SUCCESS[/code].
2022-11-01 20:31:22 +00:00
</brief_description>
<description >
2023-10-19 12:27:02 +00:00
BTRandomWait action waits for a randomized duration to elapse and then returns [code]SUCCESS[/code]. The duration is randomized within the specified range, defined by [code]min_duration[/code] and [code]max_duration[/code].
2022-11-01 20:31:22 +00:00
</description>
<tutorials >
</tutorials>
<members >
2023-04-10 14:57:36 +00:00
<member name= "max_duration" type= "float" setter= "set_max_duration" getter= "get_max_duration" default= "2.0" >
2023-10-19 12:27:02 +00:00
Maximum duration for the wait.
2023-04-10 14:57:36 +00:00
</member>
<member name= "min_duration" type= "float" setter= "set_min_duration" getter= "get_min_duration" default= "1.0" >
2023-10-19 12:27:02 +00:00
Minimum duration for the wait.
2022-11-01 20:31:22 +00:00
</member>
</members>
</class>