talira

Microduck

Open source onboard software for Pollen Robotics' tiny biped duck robot, driven by reinforcement learning policies

open sourceApache-2.0free

Microduck is the onboard software for Pollen Robotics' Microduck, a 25 cm, 800 g biped robot. A set of Rust daemons on its Rockchip RK3566 board run a 50 Hz control loop that drives fifteen servos from neural network policies (trained in MuJoCo with PPO in the companion microduck_rl repository and exported to ONNX), plus Wi-Fi, Bluetooth, a gamepad, camera streaming over WebRTC, a depth sensor and an autonomous mode. Signed updates install with health checks and roll back automatically. Every client (the phone app, the console, the gamepad or your own script) uses one JSON-RPC interface over Unix sockets, and scripts/duck-sim runs the same daemons against a simulated body in MuJoCo. It's Apache 2.0 licensed.

Problems it solves

  • I want a small walking robot whose software I can read and change
  • I need an example of running reinforcement learning walking policies on a real robot
  • I want to write scripts that control a biped robot over a simple API

Features

  • 50 Hz control loop driving fifteen servos from ONNX policies
  • Walking and wheeled roller modes
  • Signed, health-gated updates with automatic rollback
  • One JSON-RPC interface over Unix sockets for every client
  • Gamepad, phone app over Bluetooth and Wi-Fi control
  • Camera streaming over WebRTC and a depth sensor
  • MuJoCo simulation that runs the real daemons

Limitations

  • It's the onboard software for Pollen Robotics' Microduck robot (a Rockchip RK3566 board and fifteen servos), though a MuJoCo simulation runs the same daemons without one.1