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

Public Member Functions

def __init__ (self, name)
 
def goal_callback (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...
 

Additional Inherited Members

- 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 ref_simple_server.py.

Constructor & Destructor Documentation

◆ __init__()

def ref_simple_server.RefSimpleServer.__init__ (   self,
  name 
)

Definition at line 40 of file ref_simple_server.py.

Member Function Documentation

◆ goal_callback()

def ref_simple_server.RefSimpleServer.goal_callback (   self,
  goal 
)

Definition at line 47 of file ref_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 Mon Feb 28 2022 21:34:39