Public Member Functions | Public Attributes | List of all members
mock_simple_server.RefSimpleServer Class Reference
Inheritance diagram for mock_simple_server.RefSimpleServer:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, name)
 
def execute_cb (self, goal)
 
- Public Member Functions inherited from actionlib.simple_action_server.SimpleActionServer
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...
 

Public Attributes

 current_goal
 
- Public Attributes inherited from actionlib.simple_action_server.SimpleActionServer
 action_server
 
 current_goal
 
 execute_callback
 
 execute_condition
 
 execute_thread
 
 goal_callback
 
 lock
 
 need_to_terminate
 
 new_goal
 
 new_goal_preempt_request
 
 next_goal
 
 preempt_callback
 
 preempt_request
 
 terminate_mutex
 

Detailed Description

Definition at line 38 of file mock_simple_server.py.

Constructor & Destructor Documentation

◆ __init__()

def mock_simple_server.RefSimpleServer.__init__ (   self,
  name 
)

Definition at line 39 of file mock_simple_server.py.

Member Function Documentation

◆ execute_cb()

def mock_simple_server.RefSimpleServer.execute_cb (   self,
  goal 
)

Definition at line 43 of file mock_simple_server.py.

Member Data Documentation

◆ current_goal

mock_simple_server.RefSimpleServer.current_goal

Definition at line 86 of file mock_simple_server.py.


The documentation for this class was generated from the following file:


actionlib
Author(s): Eitan Marder-Eppstein, Vijay Pradeep, Mikael Arguedas
autogenerated on Fri May 19 2023 02:36:55