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

Check ros2 node status

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

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
2

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

enyuin gravatar image

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

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 1,268 times

Last updated: May 29 '21