Skip to content

Contributing to Tempo

This book is for work on Tempo itself: the Rust core, the language bindings, the editor, the docs site and releases. The guides for robot teams are on the docs site. Paths in these guides are relative to the repository root unless a guide says otherwise.

What Tempo is made of

One Rust crate plans and drives every route. The bindings reach it through a C ABI and the editor reaches it through WebAssembly.

                         rust/core (crate tempo-core)
        planning, trajectories, following, replanning, leg sequencing
                                     |
            +------------------------+------------------------+
            |                                                 |
   C ABI: rust/core/src/ffi.rs                       rust/wasm (wasm-bindgen)
            |                                                 |
   +--------+---------+----------------+                    gui
   |                  |                |            (browser and Tauri desktop)
 java/            python/            cpp/
 (vendordep)      (wheels)           (vendordep)
   |                  |                |
   +--------- WPILib robot programs ---+
             2026 (roboRIO) and 2027 (SystemCore)

The core does the path search, the velocity profile, the follower output each robot loop, the replan decision and the path of a Setlist’s connecting drive. The bindings convert WPILib types and commands to and from the C ABI and compile a Setlist’s steps into a command tree. They also decide whether a connecting drive is needed between two routes, using the shared rule in tests/fixtures/sequencing/routeJoins.json, and they plan nothing themselves. One source tree builds artifacts for WPILib 2026 and 2027.

PathContains
rust/coreField geometry, planning, trajectories, following, sequencing, the C ABI
rust/wasmWebAssembly bindings over the same core
java, python, cppRobot-facing APIs, native loading, packaging, binding tests
guiBrowser editor, Tauri desktop shell, editor tests
assetsBundled game packs, brand source, fonts
tests/fixturesCross-language expected results, frozen traces, ABI and API snapshots
examplesPublic robot templates with Tempo added (examples/)
tests/robotThe C++ docs-snippet robot and the Java simulation gate
websiteThe docs site, and the landing page in website/landing
docs/contributingThis book

Chapters

Where to start for a task

TaskStart with
First week on the codeWorking on Tempo, then How a route runs
Change planning or path shapeCore modules, then Path planning
Change what happens when the robot driftsReplanning and rejoin
Change how a Setlist runs routes or hooksSetlists and route joins
Add an FFI function or a Composer optionFFI contract, then Wrapper policy
Something differs between 2026 and 2027Two WPILib seasons
A fixture, pin or trace check failsFixtures and embeds, then Pins and surfaces
Add or change a game packGame packs
A build or test failsBuilding and testing
A robot loop runs slowWrapper policy, then Replanner and auto runtime
Change the editorWeb and desktop builds, then the GUI design guide
Change the docs siteDocs site and the Docs style guide

Work goes on a dedicated branch and reaches master through a reviewed pull request (Working on Tempo).

esc

Loading search...