Is there a tool for scanning a workspace and checking if dependencies are correctly declared?
Is there a tool for scanning a workspace and checking if dependencies are correctly declared? eg. in package manifests, CMakeLists.txt
etc.
Asked by LukeAI on 2023-06-22 12:23:20 UTC
Answers
Not a core tool, but roscompile (discourse.ros.org) does various things including suggesting the dependencies that are used in the code but not declared.
Asked by 130s on 2023-06-22 13:40:46 UTC
Comments
It won't scan your code (ie:
.cpp
,.h
,.py
, etc), but catkin_lint does a lot of other things in this direction. It will check.launch
files.Asked by gvdhoorn on 2023-06-22 14:23:07 UTC