Public Member Functions | |
def | __init__ (self, outcomes, hint=None, suggestion=None) |
def | execute (self, userdata) |
def | on_enter (self, userdata) |
Private Attributes | |
_hint | |
_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 5 of file operator_decision_state.py.
def flexbe_states.operator_decision_state.OperatorDecisionState.__init__ | ( | self, | |
outcomes, | |||
hint = None , |
|||
suggestion = None |
|||
) |
Definition at line 20 of file operator_decision_state.py.
def flexbe_states.operator_decision_state.OperatorDecisionState.execute | ( | self, | |
userdata | |||
) |
Definition at line 25 of file operator_decision_state.py.
def flexbe_states.operator_decision_state.OperatorDecisionState.on_enter | ( | self, | |
userdata | |||
) |
Definition at line 29 of file operator_decision_state.py.
|
private |
Definition at line 22 of file operator_decision_state.py.
|
private |
Definition at line 23 of file operator_decision_state.py.