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

rosnode machine equivalent for ROS2?

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

JeremieBourque gravatar image

Hi,

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?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

Comments

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

2 followers

Stats

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

Seen: 178 times

Last updated: Aug 01 '22