Public Member Functions | |
def | __eq__ |
def | __hash__ |
def | __init__ |
def | __ne__ |
def | get_default_result |
def | get_goal |
def | get_goal_id |
def | get_goal_status |
def | publish_feedback |
def | set_aborted |
def | set_accepted |
def | set_cancel_requested |
def | set_canceled |
def | set_rejected |
def | set_succeeded |
Public Attributes | |
action_server | |
goal | |
handle_tracker | |
status_tracker |
* @class ServerGoalHandle * @brief Encapsulates a state machine for a given goal that the user can * trigger transisions on. All ROS interfaces for the goal are managed by * the ActionServer to lessen the burden on the user.
Definition at line 35 of file server_goal_handle.py.
def actionlib.server_goal_handle.ServerGoalHandle.__init__ | ( | self, | |
status_tracker = None , |
|||
action_server = None , |
|||
handle_tracker = None |
|||
) |
A private constructor used by the ActionServer to initialize a ServerGoalHandle. @node The default constructor was not ported.
Definition at line 44 of file server_goal_handle.py.
def actionlib.server_goal_handle.ServerGoalHandle.__eq__ | ( | self, | |
other | |||
) |
Equals operator for ServerGoalHandles @param other The ServerGoalHandle to compare to @return True if the ServerGoalHandles refer to the same goal, false otherwise
Definition at line 256 of file server_goal_handle.py.
hash function for ServerGoalHandles @return hash of the goal ID
Definition at line 282 of file server_goal_handle.py.
def actionlib.server_goal_handle.ServerGoalHandle.__ne__ | ( | self, | |
other | |||
) |
!= operator for ServerGoalHandles @param other The ServerGoalHandle to compare to @return True if the ServerGoalHandles refer to different goals, false otherwise
Definition at line 269 of file server_goal_handle.py.
Definition at line 58 of file server_goal_handle.py.
Accessor for the goal associated with the ServerGoalHandle @return A shared_ptr to the goal object
Definition at line 217 of file server_goal_handle.py.
Accessor for the goal id associated with the ServerGoalHandle @return The goal id
Definition at line 232 of file server_goal_handle.py.
Accessor for the status associated with the ServerGoalHandle @return The goal status
Definition at line 244 of file server_goal_handle.py.
def actionlib.server_goal_handle.ServerGoalHandle.publish_feedback | ( | self, | |
feedback | |||
) |
Send feedback to any clients of the goal associated with this ServerGoalHandle @param feedback The feedback to send to the client
Definition at line 204 of file server_goal_handle.py.
def actionlib.server_goal_handle.ServerGoalHandle.set_aborted | ( | self, | |
result = None , |
|||
text = "" |
|||
) |
Set the status of the goal associated with the ServerGoalHandle to aborted @param result Optionally, the user can pass in a result to be sent to any clients of the goal
Definition at line 151 of file server_goal_handle.py.
def actionlib.server_goal_handle.ServerGoalHandle.set_accepted | ( | self, | |
text = "" |
|||
) |
Accept the goal referenced by the goal handle. This will transition to the ACTIVE state or the PREEMPTING state depending on whether a cancel request has been received for the goal
Definition at line 61 of file server_goal_handle.py.
A private method to set status to PENDING or RECALLING @return True if the cancel request should be passed on to the user, false otherwise
Definition at line 289 of file server_goal_handle.py.
def actionlib.server_goal_handle.ServerGoalHandle.set_canceled | ( | self, | |
result = None , |
|||
text = "" |
|||
) |
Set the status of the goal associated with the ServerGoalHandle to RECALLED or PREEMPTED depending on what the current status of the goal is @param result Optionally, the user can pass in a result to be sent to any clients of the goal
Definition at line 91 of file server_goal_handle.py.
def actionlib.server_goal_handle.ServerGoalHandle.set_rejected | ( | self, | |
result = None , |
|||
text = "" |
|||
) |
* @brief Set the status of the goal associated with the ServerGoalHandle to rejected * @param result Optionally, the user can pass in a result to be sent to any clients of the goal
Definition at line 125 of file server_goal_handle.py.
def actionlib.server_goal_handle.ServerGoalHandle.set_succeeded | ( | self, | |
result = None , |
|||
text = "" |
|||
) |
Set the status of the goal associated with the ServerGoalHandle to succeeded @param result Optionally, the user can pass in a result to be sent to any clients of the goal
Definition at line 177 of file server_goal_handle.py.
Definition at line 47 of file server_goal_handle.py.
Definition at line 47 of file server_goal_handle.py.
Definition at line 47 of file server_goal_handle.py.
Definition at line 47 of file server_goal_handle.py.