Public Member Functions | |
def | __init__ |
def | execute |
def | on_enter |
Private Attributes | |
_hint | |
_my_outcomes | |
_suggestion |
Implements a state where the operator has to manually choose an outcome. Autonomy Level of all outcomes should be set to Full, because this state is not able to choose an outcome on its own. Only exception is the suggested outcome, which will be returned immediately by default. This state can be used to create alternative execution paths by setting the suggestion to High autonomy instead of Full. -- outcomes string[] A list of all possible outcomes of this state. -- hint string Text displayed to the operator to give instructions how to decide. -- suggestion string The outcome which is suggested. Will be returned if the level of autonomy is high enough.
Definition at line 11 of file operator_decision_state.py.
def flexbe_states.operator_decision_state.OperatorDecisionState.__init__ | ( | self, | |
outcomes, | |||
hint = None , |
|||
suggestion = None |
|||
) |
Constructor
Definition at line 25 of file operator_decision_state.py.
def flexbe_states.operator_decision_state.OperatorDecisionState.execute | ( | self, | |
userdata | |||
) |
Execute this state
Definition at line 36 of file operator_decision_state.py.
def flexbe_states.operator_decision_state.OperatorDecisionState.on_enter | ( | self, | |
userdata | |||
) |
Definition at line 44 of file operator_decision_state.py.
Definition at line 27 of file operator_decision_state.py.
Definition at line 27 of file operator_decision_state.py.
Definition at line 27 of file operator_decision_state.py.