3 from flexbe_core
import EventState
8 Implements a state that can be used to wait on timed process. 10 -- wait_time float Amount of time to wait in seconds. 12 <= done Indicates that the wait time has elapsed. 16 super(WaitState, self).
__init__(outcomes=[
'done'])
21 if elapsed.to_sec() > self.
_wait:
25 '''Upon entering the state, save the current time and start waiting.''' def on_enter(self, userdata)
def execute(self, userdata)
def __init__(self, wait_time)