|
| def | __init__ (self, name) |
| |
| def | execute_cb (self, goal) |
| |
| def | __del__ (self) |
| |
| def | __init__ (self, name, ActionSpec, execute_cb=None, auto_start=True) |
| | Constructor for a SimpleActionServer. More...
|
| |
| def | accept_new_goal (self) |
| | Accepts a new goal when one is available The status of this goal is set to active upon acceptance, and the status of any previously active goal is set to preempted. More...
|
| |
| def | executeLoop (self) |
| | Called from a separate thread to call blocking execute calls. More...
|
| |
| def | get_default_result (self) |
| |
| def | internal_goal_callback (self, goal) |
| | Callback for when the ActionServer receives a new goal and passes it on. More...
|
| |
| def | internal_preempt_callback (self, preempt) |
| | Callback for when the ActionServer receives a new preempt and passes it on. More...
|
| |
| def | is_active (self) |
| | Allows polling implementations to query about the status of the current goal. More...
|
| |
| def | is_new_goal_available (self) |
| | Allows polling implementations to query about the availability of a new goal. More...
|
| |
| def | is_preempt_requested (self) |
| | Allows polling implementations to query about preempt requests. More...
|
| |
| def | publish_feedback (self, feedback) |
| | Publishes feedback for a given goal. More...
|
| |
| def | register_goal_callback (self, cb) |
| | Allows users to register a callback to be invoked when a new goal is available. More...
|
| |
| def | register_preempt_callback (self, cb) |
| | Allows users to register a callback to be invoked when a new preempt request is available. More...
|
| |
| def | set_aborted (self, result=None, text="") |
| | Sets the status of the active goal to aborted. More...
|
| |
| def | set_preempted (self, result=None, text="") |
| | Sets the status of the active goal to preempted. More...
|
| |
| def | set_succeeded (self, result=None, text="") |
| | Sets the status of the active goal to succeeded. More...
|
| |
| def | start (self) |
| | Explicitly start the action server, used it auto_start is set to false. More...
|
| |
Definition at line 38 of file mock_simple_server.py.