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

ROS2 Fastdds Discovery no topics listed

asked 2021-03-02 03:15:01 -0500

highmax1234 gravatar image

Hello, I followed this tutorial to set up a discovery server for ros2. The talker and listener examples all worked fine.

However, when it came to

ros2 topic list
ros2 node list
which were not part of the tutorial exactly, I did not find any topics, other than /parameter_events and /rosout. I exported the Server as follows in every terminal session:


It seems like this is enough for talker and listener nodes to find each other, but not for ros2 command line tools. rqt does find the nodes, but not the topics, as visible in thescreenshot . Command line tools and rqt work fine with standard discovery.

Is there anything else I need to do for ros2 topic list to show the /chatter topic?

Below is a screenshot from rqt and my other config. rqt_screenshot

Ubuntu 20.04.1 LTS
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-03-02 03:50:36 -0500

highmax1234 gravatar image

I solved the issue, the key is to update the XML too, as described in this link:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2021-03-02 02:56:48 -0500

Seen: 1,470 times

Last updated: Mar 02 '21