5 from smach.state_machine
import StateMachine
12 A state machine that is always executed alone when becoming active. 14 active_container =
None 16 def __init__(self, conditions=dict(), *args, **kwargs):
17 super(PriorityContainer, self).
__init__(*args, **kwargs)
22 if PriorityContainer.active_container != self.
_get_path():
24 PriorityContainer.active_container = self.
_get_path()
26 outcome = OperatableStateMachine.execute(self, *args, **kwargs)
def __init__(self, conditions=dict(), args, kwargs)
def execute(self, args, kwargs)