ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Get list of running nodes

asked 2014-05-14 04:14:47 -0600

Hendrik Wiese gravatar image

updated 2016-07-28 01:55:22 -0600

Hi guys,

is there a way to retrieve a list of all running nodes from within a node (rospy preferably)? I've already taken a look at rosgraph.masterapi. It seems appropriate but pretty complex. Is there an easier way than to dismantle the getSystemState call result?

Thanks a lot!

Cheers, Hendrik

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-05-14 05:19:28 -0600

import rosnode

More detail in the rosnode API reference.

edit flag offensive delete link more


Ah, missing the forest for the trees... Thanks, pal!

Hendrik Wiese gravatar image Hendrik Wiese  ( 2014-05-14 23:06:37 -0600 )edit

anything for c++

james P M gravatar image james P M  ( 2021-10-12 02:27:03 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-05-14 04:14:47 -0600

Seen: 8,566 times

Last updated: May 14 '14