circular dependency
Are there any ROS tools to help me track down circular dependencies between my ROS nodes?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
Are there any ROS tools to help me track down circular dependencies between my ROS nodes?
Note that dependencies are between packages or stacks, not nodes.
To list the dependencies of a package named foo
:
$ rospack depends foo
To list the packages that depend on foo
(directly or indirectly):
$ rospack depends-on foo
As a follow up, I thought I had a circular dependency in my packages because when i call rosmake with a few of my stacks, i see this message:
[rospack] woah! expanding the dependency tree made it blow up.
But when I manually created a circular dependency in some packages, they would not even compile. Because rosmake found the circular dependency right away. Even if I tried to compile with the "-s" flag.
Maybe that message is only for inter-stack circular dependencies? But rosmake seems to handle it fine, so i am not worried about it.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2011-03-10 06:31:37 -0600
Seen: 4,015 times
Last updated: Mar 11 '11
rqt_graph is not working in my ros
How to get rospack, roslaunch, etc. to work in Windows 10 (Melodic)
No such package after catkin_make
An error of "ERROR PYTHONPATH"
How to locate a non-executable generated file?
Issues installing image_view in ROS kinetic
Eclipse build (catkin tools) does not generate include files for messages/services