ROS_LOCALHOST_ONLY doesn't allow other terminal session to see all the topics.
System Summary - ROS2: eloquent - OS: Ubuntu18.04 - CPU: x86_64
Hi, I'm testing ros2 messaging with ROS_LOCALHOST_ONLY=1 option which disallows messages to be broadcasted.
But strangely, if that option is enabled, only some of the topic are visible on the other terminal session: I checked with ros2 topic list
. Both of the terminals have same env variables: ROS_LOCALHOST_ONLY=1, ROS_DOMAIN_ID=0. If all the topics are not shown then I would understand this feature as it is but as it shows only partial topics I'm quite confused. edited: I found that is ROS_DOMAIN_ID is not 0, then all the topics are not shown in other terminal.
Any hints about this will be appreciated.
Thanks in advance.