copper-project/copper-rs

Copper is an operating system for robots - build, run, and replay your entire robot deterministically.

What it solves

Copper provides a reliable way to build and manage robot software by treating the robot's task graph as a static, predictable structure. It solves the complexity of real-time execution by ensuring that task graphs are defined at compile time, which allows for deterministic performance and the ability to record, inspect, and replay robot behavior exactly as it happened.

How it works

Copper uses a Rust-based runtime where you define your robot's tasks and their connections in a configuration file (RON). The framework then wires these tasks together at compile time. During execution, it maintains a zero-allocation hot path for performance. Every interaction, timing, and state change is captured in a unified log file, which can be used to "time travel"—replaying the exact execution flow to debug issues offline or restore task states.

Who it’s for

Copper is designed for robotics engineers and developers building software for hardware ranging from high-level Linux-based systems to bare-metal microcontrollers. It is ideal for those who need high-performance, real-time guarantees and want to bridge the gap between simulation and physical deployment.

Highlights

  • Time Travel Debugging: Seek through recordings to re-execute code with original inputs and timing.
  • Profile-Guided Scheduling: Uses real-world measurements to compile optimized execution schedules.
  • Hardware Agnostic: Runs on everything from macOS and Linux to bare-metal microcontrollers.
  • Deterministic Replay: Capture and reproduce robot behavior for offline inspection.
  • Anytime Computation: Supports refining results within specific time or quality budgets.
  • Interoperable: Connects to ROS 2 via Zenoh for progressive migration.

Related

  • Project
  • Project
  • Project
  • Project
  • Project