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

Node dependencies

asked 2015-03-31 14:04:18 -0500

kobot gravatar image


Is there a simple way to create a dependency graph between ROS nodes? I would like to build a graph-like data structure where the presence of an edge between two nodes of the graph (representing ROS nodes) means that one of the nodes subscribes to a topic that the other node publishes, or that one of the nodes requests a service that the other node provides.

Any information on this would be highly appreciated !


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-04-01 01:42:15 -0500

gvdhoorn gravatar image

updated 2015-04-01 02:01:30 -0500

Afaik it cannot visualise service dependencies, but rqt_graph should get you at least the pub/sub connections that exist:


For build system level dependencies, see rospack, and in particular rospack depends .. and roseco.

edit flag offensive delete link more

Question Tools


Asked: 2015-03-31 14:04:18 -0500

Seen: 724 times

Last updated: Apr 01 '15