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

How to use ament_lint to validate ROS2 package

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

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
2

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

tfoote gravatar image

The best entry point to understand how to use ament_lint I recommend starting here: http://docs.ros.org/en/rolling/How-To...

The common linters are documented here: https://github.com/ament/ament_lint/b...

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

https://github.com/ament/ament_lint/b...

edit flag offensive delete link more

Question Tools

2 followers

Stats

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

Seen: 598 times

Last updated: Sep 22 '22