rosnode machine equivalent for ROS2?
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!
Asked by JeremieBourque on 2022-08-01 09:22:44 UTC
Answers
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.
Asked by danzimmerman on 2022-08-01 10:10:55 UTC
Comments
But is there a way to knwo which nodes run on which machines even if they share the same ROS_DOMAIN_ID
?
Asked by JeremieBourque on 2022-08-01 10:15:58 UTC
I'm not sure about that part.
Asked by danzimmerman on 2022-08-01 10:47:14 UTC
Comments