Unable to run roslint on all packages in a workspace?
See original GitHub issueTo use roslint for a pkg foo I used to do:
catkin_make roslint_foo
However, I cannot figure out to get this working in catkin tools. I tried:
catkin build roslint_foo
catkin build --catkin-make-args roslint_foo
catkin build --make-args roslint_foo
catkin build --cmake-args roslint_foo
But none of this works… Doing it the old way works, but I need to clear my ws after that if I want to build using catkin build again. So essentially I recompile my full ws, which takes a lot of time…
So: does catkin tools not yet support roslint? Or am I doing it wrong?
Issue Analytics
- State:
- Created 8 years ago
- Comments:33 (15 by maintainers)
Top Results From Across the Web
Cannot locate rosdep definition - ROS Answers
Hello all ! Recently I downloaded a package and compiled it. But when I ran rosdep command like: rosdep install --from-paths .
Read more >How to — colcon documentation - Read the Docs
This assumes that you have built dependencies of the selected packages within the workspace before. Build selected packages including their dependencies¶. $ ...
Read more >Problem building with non-installed dependencies - RSS feed
How should I edit IKFast's CMakeLists.txt so that I can use components of ... Could not find a package configuration file provided by...
Read more >Building a Production-Ready Robotic System - Medium
As a result, when we're building a ROS package, we need to be ... enough RAM to run the build process so it...
Read more >doc · master · Wolfgang Wiedmeyer / industrial_ci - IPR GitLab
Value range: [ true``|``pedantic ]): If set, run clang.tidy to check the code in all packages and fail in case of errors. If...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh I know what’s happening. You also need
--no-deps
, otherwise it will run on all the deps of the roslint’ed packages:Well I’m glad that that at least works. It’s also worth noting that a sloppily written package can depend directly on
roslint
, but not actually create anyroslint
targets, in which case, it will fail.So it’s good that this can be done without modifying the source code, but it would be great to just pack this into a contributed
roslint
verb. It’s not too hard to write such a verb, and there’s documentation on doing so here: http://catkin-tools.readthedocs.org/en/latest/development/extending_the_catkin_command.htmlThis issue can be left open until this use case is in the documentation or there’s a contributed verb for it.