Public Member Functions | |
def | __init__ (self, wait_time) |
def | execute (self, userdata) |
def | on_enter (self, userdata) |
Private Attributes | |
_start_time | |
_wait | |
Implements a state that can be used to wait on timed process. -- wait_time float Amount of time to wait in seconds. <= done Indicates that the wait time has elapsed.
Definition at line 13 of file wait_state.py.
def flexbe_states.wait_state.WaitState.__init__ | ( | self, | |
wait_time | |||
) |
Constructor
Definition at line 22 of file wait_state.py.
def flexbe_states.wait_state.WaitState.execute | ( | self, | |
userdata | |||
) |
Execute this state
Definition at line 28 of file wait_state.py.
def flexbe_states.wait_state.WaitState.on_enter | ( | self, | |
userdata | |||
) |
Upon entering the state, save the current time and start waiting.
Definition at line 36 of file wait_state.py.
|
private |
Definition at line 39 of file wait_state.py.
|
private |
Definition at line 25 of file wait_state.py.