aalbaali / ros2_cpp_package_template

ROS2 C++ package template. Uses clang-format and sets the appropriate paths.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In this repo

This is a template for a ROS2 package.

Pre-commit

The project uses pre-commit to enforce code styles. To run the pre-commit, run

pre-commit run -a

To set pre-commit as a commit hook, then install pre-commit in the repo using

pre-commit install

To update the .pre-commit-config.yaml file:

pre-commit autoupdate

Changes to do when importing the template

Change the package name in

  • package.xml
  • CMakeLists.txt
  • .github/workflows/lint.yml (under ament_lint)

About

ROS2 C++ package template. Uses clang-format and sets the appropriate paths.


Languages

Language:Dockerfile 42.0%Language:CMake 31.9%Language:Shell 26.1%