micro-ROS / micro-ROS-Agent

ROS 2 package using Micro XRCE-DDS Agent.
Apache License 2.0
94 stars 50 forks source link

No Topic Visible if running micro ros agent on Humble, but these are visible if the agent is running on Foxy #230

Open billynugrahas opened 1 week ago

billynugrahas commented 1 week ago

No Topic Visible if running micro ros agent on Humble, but these are visible if the agent is running on Foxy

Steps to reproduce the issue

I have followed the tutorial from the links below: https://micro.ros.org/docs/tutorials/core/first_application_linux/ https://micro.ros.org/docs/tutorials/core/teensy_with_arduino/

The issue is, if I run the micro ros agent on ROS Humble (both serial or udp), I don't see any topics and nodes related. But in -v6 I am able to see the data is publishing. image

The thing is, I am able to subscribe it through node. But I am not able to see the topic list in the terminal.

I have tried unset ROS_DOMAIN_ID, set the same ROS_DOMAIN_ID, set the same RMW_IMPLEMENTATION, unset the RMW_IMPLEMENTATION. But nothing works.

Then I tried to use foxy to run micro ros agent (using docker ros-foxy), I am able to see the topic list on Humble. And I also able to echo it. as you can see the picture below

image

Expected behavior

I should be able to see the topic list, while the micro ros agent runs in the Humble.

Actual behavior

Unable to see the topic list, while the micro ros aget runs in the Humble.

Additional information

This is my env, even if I didn't set the same ROS_DOMAIN_ID, and didn't set the RMW_IMPLEMENTATION, if I run the agent on Foxy, it still work and detected on Humble Screenshot from 2024-06-23 14-05-50

yairshlomi1 commented 1 week ago

I think it's because of the ROS_LOCALHOST_ONLY=1 in humble. I'm facing the same issue, and there was issue about it (#49 ). A solutions was suggested but it didn't work for me.