rclpy.topic_or_service_is_hidden module

rclpy.topic_or_service_is_hidden.topic_or_service_is_hidden(name)

Return True if a given topic or service name is hidden, otherwise False.

A topic or service name is considered hidden if any of the name tokens begins with an underscore (_). See:

http://design.ros2.org/articles/topic_and_service_names.html#hidden-topic-or-service-names

Parameters:

str (name) – topic or service name to test

Returns:

True if name is hidden, otherwise False