Skip to content

Static bug checkers for ROS packages developed as part of SQUARE research at the IT University of Copenhagen.

License

Notifications You must be signed in to change notification settings

rosin-project/ros2_launch_checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROS2 launch checker

Tests

ROS2 packages are made of different artifacts, and there are some name matchings among those files that can fail. This script aims to verify them.

Given a ROS2 package, it checks that all the node_executables on any launch files are correctly defined either in a CMakeLists.txt file or in the setup.py file. If there is any mismatch, name suggestions are provided.

WARNING: this script executes files called setup.py. Use under your own risk.

Installation

pip3 install .

Execution

Requires a path to the root of a ROS2 package (i.e. where the package.xml file is placed). Accepts an optional argument --verbose or -v to display more details.

This script runs with python 3.

Simple version:

python3 -m ros2_launch_checker my_great_ros2_package/

Verbose version:

python3 -m ros2_launch_checker my_great_ros2_package/ --verbose

Testing

Some tests are included. In the root folder, run the following:

python3 -m unittest discover -b

The -b option supresses the standard input logging information.

Acknowledgements

rosin_logo

Supported by ROSIN - ROS-Industrial Quality-Assured Robot Software Components. More information: rosin-project.eu

eu_flag

This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement no. 732287.

About

Static bug checkers for ROS packages developed as part of SQUARE research at the IT University of Copenhagen.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published