set_initial_state(self,
server,
path,
initial_states,
initial_userdata=smach.UserData(),
timeout=None)
| source code
|
Set the initial state of a smach server.
- Parameters:
server (string) - The name of the introspection server to which this client should
connect.
path (string) - The path to the target container in the state machine.
inital_state - The state the target container should take when it starts. This
is as list of at least one state label.
initial_userdata (UserData) - The userdata to inject into the target container.
timeout (rospy.Duration) - Timeout for this call. If this is set to None, it will not block,
and the initial state may not be set before the target state
machine goes active.
initial_states (list of string)
|