upkie/upkie

Open-source wheeled biped robots

What it solves

Upkie provides a complete, open-source framework for building and controlling wheeled biped robots. It bridges the gap between hardware design and software control, allowing users to develop balancing and locomotion behaviors that work seamlessly in both simulation and on physical robots.

How it works

The project offers a Python library that uses Gymnasium environments, a standard interface for robotics and reinforcement learning. You write your control logic once, and by simply switching the environment name (e.g., from "PyBullet" for simulation to "Spine" for the real robot), your code runs on the actual hardware. The robots are built using off-the-shelf components, such as mjbots actuators, and are controlled via a Raspberry Pi.

Who it’s for

This project is for robotics researchers, hobbyists, and developers interested in legged locomotion and balance control. It is designed for those who want to build their own hardware using provided step-by-step instructions or experiment with control algorithms using a standardized software stack.

Highlights

  • Open-source hardware design buildable with off-the-shelf components.
  • Unified software interface for both simulation and real-world deployment.
  • Built-in support for balancing and locomotion behaviors.
  • Compatible with reinforcement learning tools for training advanced policies.
  • Includes ready-to-use examples like model predictive control and PD balancing.

Related

  • Project
  • Project
  • Project
  • Project
  • Project