flexbe_states.wait_state module
WaitState.
- class flexbe_states.wait_state.WaitState(*args: Any, **kwargs: Any)
Bases:
EventState
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.
- execute(userdata)
Execute the WaitState and return after time elapses.
- on_enter(userdata)
Upon entering the WaitState, save the current time.