AI-FanGe/A-MicroRobot-that-can-Rollerskate
Hardware & IoTAn open-source 30 cm desktop humanoid robot you can 3D print, assemble, and train with reinforcement learning.
Overview
Xiaoxiaobai (小小白) is a roughly 30 cm tall desktop humanoid robot. Its locomotion comes from reinforcement-learning policies trained in MuJoCo and exported to ONNX, then run at 50 Hz on the main control board. The project ships robot-side code, training environments, 3D-printable structure files, and an Android app, so it is aimed at people who want to build and program a small walking robot rather than buy a finished product.
Hardware is 20 bus servos: six per leg, three per arm, and two for the head. The body has 25 3D-printed parts, a head coprocessor with camera, microphone, a 2-inch LCD face and speaker. Beyond walking, it supports roller-skating gaits, a broadcast-exercise routine, dozens of hand gestures, 80+ pixel-art facial expressions, and voice dialogue via Qwen Realtime with action commands such as "forward two steps" or "wave".
Quick Start
This is a hardware project first. You need 20 bus servos, a main control board with a microSD card (≥16 GB), a servo control board, an IMU, a head coprocessor, a 2-inch LCD, an I2S amplifier and speaker, two 18650 cells, a 2S BMS and USB-C charging board, plus a 3D printer and basic soldering tools. Print the 25 structural parts from the Bambu Studio project in hardware/ (PLA, 0.4 mm nozzle, 0.2 mm layer, 15% infill), configure servo IDs and 1 Mbps baud rate, then assemble the legs, torso, arms and head following the assembly guide.
On the software side, the recommended path is to flash the prebuilt xiaoxiaobai-<date>.img.xz from Releases with Raspberry Pi Imager, select "No" for system customization, then edit network-config on the bootfs partition with your 2.4 GHz Wi-Fi name and password. Boot, wait 1–2 minutes for partition expansion, and confirm ping xiaoxiaobai.local works. Default login is user / password; change it with passwd.
From your computer, clone the repo, install uv, and from the xiaoxiaobai/ directory run:
make setup
make run
make run syncs code, starts the API and Web UI, and opens the control console. In the Web UI, click 站立 (stand) then 走跑 (walk/run), and drive with WASD/QE or the on-screen joystick. Run the IMU calibration and manual roll/pitch tuning before expecting stable walking.
Constraints
- The main board must connect to a 2.4 GHz Wi-Fi network; 5 GHz will not work.
- IMU installation must be rigid and calibrated. Manual roll/pitch correction in the Web UI is required for stable gait transfer; corrections act on walking, skating and action routines together.
- Always run
make shutdownand wait 10–15 seconds before cutting power; direct power-off can corrupt the SD card. - Training your own policies requires an NVIDIA GPU and the MjLab-based environment in
mjlab_xiaoxiaobai/. - The two code directories must sit at the same level because training scripts export policies to
../xiaoxiaobai/src/agents/. - Licensing is split: software is GPL v3, while hardware files are CC BY-NC-SA 4.0, so printed/modified hardware may not be used commercially.
HotRepo's take
The repository appeared on HotRepo's new-project Python list on 2026-11-26 with 105 stars and 15 forks gained since its 2026-11-25 creation, meaning the whole recorded history is its first day. There is no all-language daily rank recorded yet, so the data only confirms an early burst of attention, not sustained growth. What stands out is breadth for a first-day project: build files, deployment images, training code and an app all in one repository, plus explicit lineage from microban and microduck. Whether the prebuilt image and APK match the published source is something later release activity can clarify.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- mit-han-lab/pearPost-training engine that trains reasoning models to control real robots via reinforcement learning in simulation.
- apirrone/Open_Duck_MiniOpen hardware plans, 3D files and reinforcement-learning code for building and training a small bipedal duck robot at home.
- pollen-robotics/microduck_rlTraining environments and sim2real recipes for teaching a small bipedal robot to walk with reinforcement learning.
- Open-RUA/uni-robot-agentRun robot-use agents in simulated manipulation environments via CLI, Python SDK, or local dashboard.