Robotics StackExchange | Archived questions

How to get list of all available ros2 topics?

I am trying to get list of all available topics to subscribe to in ROS2 Eloquent.

I have already tried this, sometimes it gives me available topics and sometimes it is missing few topics and I cannot find a pattern in there or what I might be doing wrong.

Asked by Choco93 on 2020-06-17 03:42:15 UTC

Comments

Could you please update your question to make it a bit clearer you're looking for a way to do this in Python?

Right now only a single tag mentions Python, which is easily overlooked.

Asked by gvdhoorn on 2020-06-17 05:31:07 UTC

I switched to Cyclone DDS and it seems to work now

Asked by Choco93 on 2020-06-17 08:14:10 UTC

Answers