Public Member Functions | |
def | __init__ |
def | execute |
Private Member Functions | |
def | _request_preempt_cb |
Private Attributes | |
_input_keys | |
_output_keys | |
_preempt_pause |
StateMachine This is a finite state machine smach container. Note that though this is a state machine, it also implements the L{smach.State} interface, so these can be composed hierarchically, if such a pattern is desired. States are added to the state machine as 3-tuple specifications: - label - state instance - transitions The label is a string, the state instance is any class that implements the L{smach.State} interface, and transitions is a dictionary mapping strings onto strings which represent the transitions out of this new state. Transitions can take one of three forms: - OUTCOME -> STATE_LABEL - OUTCOME -> None (or unspecified) - OUTCOME -> SM_OUTCOME
Definition at line 334 of file ssm_state_machine.py.
def src.airbus_ssm_core.ssm_state_machine.ssmMainStateMachine.__init__ | ( | self, | |
outcomes | |||
) |
Definition at line 356 of file ssm_state_machine.py.
def src.airbus_ssm_core.ssm_state_machine.ssmMainStateMachine._request_preempt_cb | ( | self, | |
msg | |||
) | [private] |
Callback empty message for propagate preempt to currently active state.
Reimplemented from src.airbus_ssm_core.ssm_state_machine.ssmStateMachine.
Definition at line 361 of file ssm_state_machine.py.
def src.airbus_ssm_core.ssm_state_machine.ssmMainStateMachine.execute | ( | self, | |
parent_ud = smach.UserData() |
|||
) |
Run the state machine on entry to this state. This will set the "closed" flag and spin up the execute thread. Once this flag has been set, it will prevent more states from being added to the state machine.
Reimplemented from src.airbus_ssm_core.ssm_state_machine.ssmStateMachine.
Definition at line 370 of file ssm_state_machine.py.
Definition at line 356 of file ssm_state_machine.py.
Definition at line 356 of file ssm_state_machine.py.
Reimplemented from src.airbus_ssm_core.ssm_state_machine.ssmStateMachine.
Definition at line 363 of file ssm_state_machine.py.