We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I would like to start using clang-tidy in all my ROS2 packages.
I am using the OSRF supplied ROS2 galactic docker image that comes with clang-tidy
root@rfriedm-us-dl01:~/tas-ros2-system# clang-tidy --version LLVM (http://llvm.org/): LLVM version 10.0.0 Optimized build. Default target: x86_64-pc-linux-gnu Host CPU: skylake-avx512
Docs recommends to use clang-tidy-6.0. but I don't have that version. I can install it directly with
apt install clang-tidy-6.0
I have built my package according to documentation.
colcon build --packages-up-to tas_tn_002 --mixin compile-commands --cmake-args -DBUILD_TESTING=ON
Now, I can run ament_clang_tidy successfully.
ament_clang_tidy build
If I don't go out and install ament-clang-tidy-6.0, I get this error:
ament-clang-tidy-6.0
Could not find 'clang-tidy-6.0' executable
Now, if I try using the cmake integration,with the appropriate calls package.xml and CMakeLists.txt, rosdep still doesn't install the depenency.
package.xml
CMakeLists.txt
rosdep install -i path/to/tas_tn_002 ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I would like to start using clang-tidy in all my ROS2 packages.
I am using the OSRF supplied ROS2 galactic docker image that comes with clang-tidy
Docs recommends to use clang-tidy-6.0. but I don't have that version. I can install it directly with
I have built my package according to documentation.
Now, I can run ament_clang_tidy successfully.
If I don't go out and install
ament-clang-tidy-6.0
, I get this error:Now, if I try using the cmake integration,with the appropriate calls
package.xml
andCMakeLists.txt
, rosdep still doesn't install the depenency.The text was updated successfully, but these errors were encountered: