|
__init__(self,
outcomes,
connector_outcome,
input_keys=[],
output_keys=[])
Constructor. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
smach.State
|
|
|
|
|
|
|
execute(self,
parent_ud=smach.UserData())
Run the state machine on entry to this state. |
source code
|
|
list of string
|
|
dict of string: State
|
|
list of string
|
|
list of 3-tuple
|
|
|
is_running(self)
Returns true if the state machine is running. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool
|
is_opened(self)
Returns True if this container is currently opened for construction. |
source code
|
|
|
|
|
opened(self,
**kwargs)
Context manager method for opening a smach container. |
source code
|
|
|
|
|
|
|
|
|
get_registered_input_keys(self)
Get a tuple of registered input keys. |
source code
|
|
tuple of str
|
|
|
get_registered_output_keys(self)
Get a tuple of registered output keys. |
source code
|
|
|
preempt_requested(self)
True if a preempt has been requested. |
source code
|
|
|
recall_preempt(self)
Sets preempt_requested to False |
source code
|
|
|
|
|
|
|
register_outcomes(self,
new_outcomes)
Add outcomes to the outcome set. |
source code
|
|
|
|
|
service_preempt(self)
Sets preempt_requested to False |
source code
|
|