
| Public Member Functions | |
| def | __init__ | 
| def | execute | 
| def | on_enter | 
| Private Attributes | |
| _outcome | |
| _predicate | |
Checks if the given condition is true and returns the corresponding outcome.
This state can be used if the further control flow of the behavior depends on a simple condition.
-- predicate    function	The condition whose truth value will be evaluated.
                                                        Has to expect one parameter which will be set to input_value and return a boolean.
># input_value	object		Input to the predicate function.
<= true 					Returned if the condition evaluates to True
<= false 					Returned if the condition evaluates to False
Definition at line 12 of file check_condition_state.py.
| def flexbe_states.check_condition_state.CheckConditionState.__init__ | ( | self, | |
| predicate | |||
| ) | 
Constructor
Definition at line 28 of file check_condition_state.py.
| def flexbe_states.check_condition_state.CheckConditionState.execute | ( | self, | |
| userdata | |||
| ) | 
Execute this state
Definition at line 37 of file check_condition_state.py.
| def flexbe_states.check_condition_state.CheckConditionState.on_enter | ( | self, | |
| userdata | |||
| ) | 
Definition at line 43 of file check_condition_state.py.
Definition at line 28 of file check_condition_state.py.
Definition at line 28 of file check_condition_state.py.