ROS2 Fastdds Discovery no topics listed
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 listand
ros2 node listwhich 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:
export ROS_DISCOVERY_SERVER=127.0.0.1:11811
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.
ROS_VERSION=2 ROS_LOCALHOST_ONLY=0 ROS_DISTRO=foxy ROS_DISCOVERY_SERVER=127.0.0.1:11811 Ubuntu 20.04.1 LTS