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 -0500
Seen: 4,071 times
Last updated: Mar 11 '11
rospack ends with "rosboost_cfg.rosboost_cfg.BoostError"
failed to rename rospack cache
rospack can't find package created with catkin_create_package
How to change rospack cache directory after install on Windows 10
[rospack] Error: package 'turtlebot_gazebo' not found
Call substitute for package inside launch file
Is there a command line utility to list available nodelets within the package path?
how to list all the nodes of a package?