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

Check ros2 node status

asked 2021-05-22 02:56:23 -0600

enyuin gravatar image

When using ROS1, I am able to use ros::master::getNodes to check the nodes that is functioning through code usage.

I wonder to know is there any way that ros2 can achieve the same functionality which is to get the functioning nodes.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-05-29 02:51:27 -0600

enyuin gravatar image

rclpy.Node.get_node_names() solves the problem!!

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2021-05-22 02:56:23 -0600

Seen: 1,089 times

Last updated: May 29 '21