rclpy.action.graph module

rclpy.action.graph.get_action_client_names_and_types_by_node(node: Node, remote_node_name: str, remote_node_namespace: str) List[Tuple[str, List[str]]]

Get a list of action names and types for action clients associated with a node.

Parameters:
  • node – The node used for discovery.

  • remote_node_name – The name of a remote node to get action clients for.

  • node_namespace – Namespace of the remote node.

Returns:

List of tuples. The first element of each tuple is the action name and the second element is a list of action types.

rclpy.action.graph.get_action_names_and_types(node: Node) List[Tuple[str, List[str]]]

Get a list of action names and types.

Parameters:

node – The node used for discovery.

Returns:

List of action names and types in the ROS graph as tuples. The first element of each tuple is the action name and the second element is a list of action types.

rclpy.action.graph.get_action_server_names_and_types_by_node(node: Node, remote_node_name: str, remote_node_namespace: str) List[Tuple[str, List[str]]]

Get a list of action names and types for action servers associated with a node.

Parameters:
  • node – The node used for discovery.

  • remote_node_name – The name of a remote node to get action servers for.

  • node_namespace – Namespace of the remote node.

Returns:

List of tuples. The first element of each tuple is the action name and the second element is a list of action types.