__init__(self,
server_name,
action_spec,
wrapped_container,
succeeded_outcomes=[],
aborted_outcomes=[],
preempted_outcomes=[],
goal_key='action_goal',
feedback_key='action_feedback',
result_key='action_result',
goal_slots_map={},
feedback_slots_map={},
result_slots_map={},
expand_goal_slots=False,
pack_result_slots=False)
(Constructor)
| source code
|
Constructor.
- Parameters:
server_name (string) - The name of the action server that this container will present.
action_spec (actionlib action msg) - The type of action this server will present
wrapped_container (StateMachine ) - The state machine to manipulate
succeeded_outcomes (array of strings) - Array of terminal state labels which, when left, should cause the
action server to return SUCCEEDED as a result status.
aborted_outcomes (array of strings) - Array of terminal state labels which, when left, should cause the
action server to return ABORTED as a result status.
preempted_outcomes (array of strings) - Array of terminal state labels which, when left, should cause the
action server to return PREEMPTED as a result status.
goal_key (string) - The userdata key into which the action goal should be stuffed
when the action server receives one.
feedback_key (string) - The userdata key into which the SMACH container can put feedback
information relevant to the action.
result_key (string) - The userdata key into which the SMACH container can put result
information from this action.
|