Skip to content

Format CMakelists.txt and package.xml for ROS2 packages that use nodes written in both C++ and python.

Notifications You must be signed in to change notification settings

antonioc76/ROS2_package_formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Run this script using python3 inside of a ros package that uses python and C++ nodes to generate CMakeLists.txt and package.xml that are formatted for this purpose.

navigate to ~/your/ros/package/

enter python3 ~/path/to/format_package/format_package.py

You'll still want to update the package name in each file. When you run colcon build you'll see that the packages have the default name add_your_package_name_in_cmakelists_and_packagexml until you edit them, one of them will build though.

The script sets the package name to add_your_package_name_in_cmakelists_and_packagexml, the description to TODO: Package description, the maintainer email to [email protected], and the license to MIT.

About

Format CMakelists.txt and package.xml for ROS2 packages that use nodes written in both C++ and python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages