Example #1
0
    def get_topic_names_and_types(self,
                                  no_demangle: bool = False
                                  ) -> List[Tuple[str, str]]:
        """
        Get a list topic names and types for the node.

        :param no_demangle: If ``True``, then topic names and types returned will not be demangled.
        :return: List of tuples containing two strings: the topic name and topic type.
        """
        return _rclpy.rclpy_get_topic_names_and_types(self.handle, no_demangle)
Example #2
0
File: node.py Project: hfz-Nick/ROS
 def get_topic_names_and_types(self, no_demangle=False):
     return _rclpy.rclpy_get_topic_names_and_types(self.handle, no_demangle)
Example #3
0
 def get_topic_names_and_types(self):
     return _rclpy.rclpy_get_topic_names_and_types(self.handle)
Example #4
0
File: node.py Project: ros2/rclpy
 def get_topic_names_and_types(self):
     return _rclpy.rclpy_get_topic_names_and_types(self.handle)