mqtt_client icon indicating copy to clipboard operation
mqtt_client copied to clipboard

mqtt_client seems to not find ROS2 topics anymore if I use a sever based fastdds discovery mechanism

Open lars-nagel opened this issue 8 months ago • 2 comments

Let's assume I have two machines that I am running mqtt_client on, both have ROS2 Humble installed. I now run a mosquitto broker on machine 2 and bridge some ros topics from machine 1 to machine 2 via mqtt_client and echo the respective ROS topics on machine 2. That works as expected and I see the data flowing on machine 2.

Now, I add a third machine (running ROS2 Foxy) as a fastdds discovery server and tell machine 1 that machine 3 runs the fastdds discovery server via a client (not super_client) configuration file. I then do not see (ros2 topic list) the ROS topics on machine 1 anymore (as one would expect from a simple client configuration) but, of course, all ROS nodes running on machine 1 can still access the necessary data and are running fine. However, when I now run the mqtt_client on machine 1, the data is not arriving on machine 2 anymore.

It seems that the mqtt_client has somehow problems with the fastdds discovery client/server configuration. Do you have any idea why this could be the case?

lars-nagel avatar Jun 24 '24 12:06 lars-nagel