flexbe_states.decision_state module
- class flexbe_states.decision_state.DecisionState(*args: Any, **kwargs: Any)
Bases:
EventState
Evaluates a condition function in order to return one of the specified outcomes.
This state can be used if the further control flow of the behavior depends on an advanced condition.
– outcomes string[] A list containing all possible outcomes of this state – conditions function Implements the condition check and returns one of the available outcomes.
Has to expect one parameter which will be set to input_value.
># input_value object Input to the condition function.
- execute(userdata)