Skip to content
PalletLab
Industry standards

Industry standards

The engine is built with the same tools you would find in a professional robotics C++ codebase.

ToolWhat it doesHow this project uses it
CMakeGenerates builds for any platform and compilerCMakeLists.txt, plus CMakePresets.json with release, debug-asan and wasm presets
vcpkgC++ package managervcpkg.json manifest pinned to a baseline commit, so every machine gets the same versions
GoogleTestUnit testing framework330 test cases, including parameterized property tests over 300 random seeds
Google BenchmarkMicro-benchmarks with statisticsmicro_bench measures rule checks and full plans and fits a Big-O curve
EigenLinear algebra (vectors, matrices, transforms, quaternions)robot-frame poses via Isometry3d
fmtType-safe formatting (basis of C++20 std::format)CLI output and summaries
nlohmann/jsonJSON for modern C++plan output; ordered_json keeps keys in a readable order
CLI11Command-line parsingpalletize, wes_sim, bench options with validation and --help
ROS 2 + colconRobot middleware and build toolros2/ packages, built and tested in Docker
SanitizersRuntime bug detectorsASan + UBSan preset, run in CI
clang-format / clang-tidyStyle and static analysisconfigs in core/
DockerReproducible environmentsROS 2 Jazzy workspace image
GitHub ActionsCI/CDbuilds, tests, sanitizers, ROS tests, web tests, deploy
PlaywrightBrowser end-to-end testsEnglish and Japanese browsers, desktop and phone

Why not Boost?

Boost is a huge, high-quality collection of libraries, sometimes called the C++ "kitchen sink". Many of its best parts are now in the standard library (std::optional, std::variant, std::filesystem, smart pointers). This project needs none of the rest, and skipping it keeps the WebAssembly build small. Boost.Geometry could compute our convex hulls, but writing the monotone chain ourselves is the point of a learning project.

A preset in practice

export VCPKG_ROOT=~/vcpkg
cmake --preset release          # vcpkg installs fmt, Eigen, GoogleTest... then CMake configures
cmake --build --preset release  # Ninja builds the library, apps and tests
ctest --preset release          # 330 tests in under a second