Skip to content

Tacha-S/colcon-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colcon-lint

Colcon extension for linting ROS package dependencies.

This package is an extension of colcon-core. Similar to catkin-lint in ROS, it checks whether the dependencies of ROS2 packages are correctly described in the package.xml.

Installation

To use this extension, please execute the following:

sudo apt install apt-rdepends
pip install colcon-lint

How to use

Please execute as follows. The package specification option is the same as other colcon commands.

colcon lint --packages-select <package-name>

Replace <package-name> with the name of the package you want to check.

Options

Option Description
package specification options The same as other colcon commands.
logging options The same as other colcon commands.
--quick This option only checks for directly declared dependencies in the package.xml. It cannot detect dependencies that are resolved through recursively declared packages.

Tips

To run faster, you can build with the -Wno-dev --trace-expand --trace-redirect=trace.log cmake option.

colcon build --cmake-args -Wno-dev --trace-expand --trace-redirect=trace.log

About

Colcon extension for linting ROS package dependencies

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published