ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rosnode machine equivalent for ROS2?

asked 2022-08-01 09:22:44 -0600

JeremieBourque gravatar image


I am using ROS2 and I need to be able to list the nodes running on two machines. In ROS1 this can be done with rosnode machine. Is there an equivalent in ROS2?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-08-01 10:10:55 -0600

danzimmerman gravatar image

ros2 node list will (ideally) list all the nodes on any machines in the domain defined by your ROS_DOMAIN_ID environment variable setting.

If it's not working, check to make sure your RMW implementation matches on all the machines. I've had some spotty results in the past perhaps due to that.

edit flag offensive delete link more


But is there a way to knwo which nodes run on which machines even if they share the same ROS_DOMAIN_ID?

JeremieBourque gravatar image JeremieBourque  ( 2022-08-01 10:15:58 -0600 )edit

I'm not sure about that part.

danzimmerman gravatar image danzimmerman  ( 2022-08-01 10:47:14 -0600 )edit

Question Tools



Asked: 2022-08-01 09:22:44 -0600

Seen: 84 times

Last updated: Aug 01 '22