ros2node.api package

Module contents

class ros2node.api.NodeName(name, namespace, full_name)

Bases: tuple

full_name

Alias for field number 2

name

Alias for field number 0

namespace

Alias for field number 1

class ros2node.api.NodeNameCompleter(*, include_hidden_nodes_key=None)

Bases: object

Callable returning a list of node names.

ros2node.api.TopicInfo

alias of Topic

ros2node.api.get_absolute_node_name(node_name)
ros2node.api.get_action_client_info(*, node, remote_node_name, include_hidden=False)
ros2node.api.get_action_server_info(*, node, remote_node_name, include_hidden=False)
ros2node.api.get_node_names(*, node, include_hidden_nodes=False)
ros2node.api.get_publisher_info(*, node, remote_node_name, include_hidden=False)
ros2node.api.get_service_client_info(*, node, remote_node_name, include_hidden=False)
ros2node.api.get_service_server_info(*, node, remote_node_name, include_hidden=False)
ros2node.api.get_subscriber_info(*, node, remote_node_name, include_hidden=False)
ros2node.api.get_topics(remote_node_name, func, *, include_hidden_topics=False)
ros2node.api.has_duplicates(values: List[Any]) bool

Find out if there are any exact duplicates in a list of strings.

ros2node.api.parse_node_name(node_name)
ros2node.api.wait_for_node(node, node_name, include_hidden_nodes=False, timeout=1.0) bool