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 | ros @ Robotics Stack Exchange |
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.
Asked: 2011-03-10 06:31:37 -0600
Seen: 4,124 times
Last updated: Mar 11 '11
How to use a package from cturtle in diamondback
image_view cannot be run in diamondback
An error of "ERROR PYTHONPATH"
Access ROS command-line tools via Java
Grepping in specific ROS packages?
Is there a command line utility to list available nodelets within the package path?