List all current DOMAIN_ID

asked 2021-09-20 03:48:11 -0500

Thomas10017 gravatar image

Hi,

I wanted to know how can we have a list of all current ROS_DOMAIN_ID running, or all having something into them. Thank you!

edit retag flag offensive close merge delete

Comments

Ranjit Kathiriya gravatar image Ranjit Kathiriya  ( 2021-09-20 03:55:09 -0500 )edit

No sorry to not be clear, I was meaning all domain_id running on your network.. that are reachable from you.

Thomas10017 gravatar image Thomas10017  ( 2021-09-20 03:56:45 -0500 )edit

ROS_DOMAIN_ID is an environment variable. I'm not aware of any infrastructure which would "list" all values of all hosts on "the same network" (which would be difficult to understand, as networks can be interconnected).

gvdhoorn gravatar image gvdhoorn  ( 2021-09-21 02:43:25 -0500 )edit

I found a way to list all of them, Wireshark or tcpdump could be used to filter those ports from RTPS messaging to find the domains with active discovery messages.

Thank you for your answers guys

Thomas10017 gravatar image Thomas10017  ( 2021-09-21 02:45:34 -0500 )edit

That's not really "listing them"? It sounds more like reverse engineering their values based on knowledge of how DDS selects UDP ports and the influence ROS_DOMAIN_ID has on that process.

gvdhoorn gravatar image gvdhoorn  ( 2021-09-21 02:46:40 -0500 )edit