Setting up a new ROS 2 project often requires a significant amount of preparation and boilerplate configuration, costing you valuable robot development time 🤖. Recognizing this, we have put together this template repository configured with a ROS 2 development environment, continuous integration, and more. This project is the result of much trial and error across many projects, and we hope that this helps you save some effort in setting up your own projects.
The main features of this template are:
- A development environment for Visual Studio Code including a development container and configurations for linting and auto-formatting your code
- Docker images that support deployment to a variety of systems (e.g., arm64 systems)
- Continuous integration and deployment pipelines using GitHub Actions
- GitHub Issue and Pull Request templates
Using this template is as easy as 1, 2, 3...
- Use this repository as a template for your project
- Replace all instances of "ros2-template" with your own project's name
- Replace the source code with your own project!
Feel free to remove any unused configurations/pipelines and to adjust things as you see fit for your project!
If you have questions regarding usage of this project or would like to contribute, please ask a question on our Discussions board!