When using the DependencyWalker and calling get_recursive_depends with the ros_packages_only to False, the DependencyWalker tries to get the dependencies of every dependency (even the non-ROS ones).
In order to get the dependencies of a package we must get the corresponding ROS package (for the XML etc). This is not possible for non ROS packages (like CMake, boost etc). Hence this causes a KeyError.
I simply added a check to verify if the package is a ROS package or not before trying to get its dependencies.
When using the
DependencyWalker
and callingget_recursive_depends
with theros_packages_only
toFalse
, theDependencyWalker
tries to get the dependencies of every dependency (even the non-ROS ones). In order to get the dependencies of a package we must get the corresponding ROS package (for the XML etc). This is not possible for non ROS packages (likeCMake
,boost
etc). Hence this causes aKeyError
.I simply added a check to verify if the package is a ROS package or not before trying to get its dependencies.