Ask Your Question

ROS2 Multicast - can't see any topics

asked 2020-02-28 20:28:48 -0500

Leonti gravatar image


I'm running ROS2 Dashing on my Raspberry Pi inside a docker container (Balena) on Ubuntu 18.04, here are the packages installed:


I'm running only one node at the moment - rplidar which publishes LaserScan data to /scan topic.

Here is how I start the process:

source /opt/ros/dashing/setup.bash; source ./install/setup.bash; ROS_DOMAIN_ID=45 ros2 launch rover

Then I'm trying to get a list of nodes on my Ubuntu machine running ROS2 Eloquent (maybe this is the problem?):

ROS_DOMAIN_ID=45 ros2 node list

which gives me


So far so good.
But when I'm trying to get a list of topics I get only the default ones:

ROS_DOMAIN_ID=45 ros2 topic list


Is there a step I'm missing?
I followed the "Troubleshooting" section here: and multicasting are enabled on both Ubuntu PC and on Raspberry Pi.
The fact that I can see remote nodes is also encouraging.

Is it just version incompatibility or I really need to run the same version on Raspberry Pi and Ubuntu?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-02-28 23:52:09 -0500

Leonti gravatar image

It was the incompatibility between Dashing and Eloquent which makes sense.
After compiling Dashing on my Ubuntu 19.10 and running:

ROS_DOMAIN_ID=45 ros2 topic list --spin-time 30

I can now see


I'm also able to visualise the scan data with Rviz:

ROS_DOMAIN_ID=45 rviz2
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-02-28 20:28:48 -0500

Seen: 651 times

Last updated: Feb 28 '20