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

Can I find ROS topics (publishers and subscribers) only from launch file?

asked 2020-03-18 10:42:37 -0500

TestUser gravatar image

Hi guys, I'm kinda new at ROS. I'm trying to read a launch file in Python and to find all the nodes and topics? I can find nodes easily using roslaunch.node_args. Is finding the topics possible without executing the launch file?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-18 11:52:57 -0500

You may be able to work out some from the launch file, if any names are remapped, but other than that not from just reading the launch file, unless you are very familiar with the nodes it launches and know what topics they publish and subscribe to.

You could find it out by looking at the documentation for each of the nodes

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-03-18 10:42:37 -0500

Seen: 193 times

Last updated: Mar 18 '20