ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can use the python client library and ask for the topics for each node: using get_publisher_names_and_types_by_node iterating through each node on the system which is available via get_node_names

Both are documented in the rclpy Node API: http://docs.ros2.org/latest/api/rclpy/api/node.html

We don't appear to have the straight API for asking for the list from all nodes on the system, which I think would be a nice enhancement PR if someone would wish to do that.