This is a minimal robotics project template using wtp-lib as a submodule. It provides a CMake-based build and deploy system, intended for cross-compilation with Docker.
src/– Source files (must includemain.cpp)include/– User-defined headerswtp-lib/– Git submodule with the shared robotics framework
All functionality from wtp-lib is accessible directly without prefixing paths (e.g. #include <navigation/navigation.hpp>).
Clone with submodules:
git clone --recurse-submodules https://github.com/WeThePeopleBotball/dev-template
Update submodules:
git submodule update --remote --merge --recursive
Use the provided Makefile to compile and deploy:
make compile– Build the project using Docker and CMakemake compile_commands– Generatecompile_commands.jsonfor toolingmake docs– Build Doxygen documentationmake image– Build the Docker image (wtp:cross)make deploy– Upload binary to the robot at192.168.125.1make run– Compile, deploy, and runmake ssh– Open SSH session to robot
All settings (e.g. name, docker_image, roboter) can be overridden via environment variables.