ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to use ament_lint to validate ROS2 package

asked 2021-01-22 12:52:41 -0500

Boston Cleek gravatar image

In ROS1 it was very useful to run catkin_lint -W2 to validate the CMake and package.xml. Is there a feature in ament_lint to get this desired behavior? I have tried ament_xmllint but it doesn't provide errors or warnings regarding missing depends in the package.xml. If this feature does exist it will save a lot of time developing ROS2 packages.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-09-22 12:14:52 -0500

tfoote gravatar image

The best entry point to understand how to use ament_lint I recommend starting here:

The common linters are documented here:

Including a link to ament_lint_auto which is recommended to simplify enabling multiple linters:

edit flag offensive delete link more

Question Tools



Asked: 2021-01-22 12:52:41 -0500

Seen: 318 times

Last updated: Sep 22 '22