๐ฆ MicroDuck: Bipedal Robot Reinforcement Learning Policies & 3D Viewer
This repository contains pre-trained Deep Reinforcement Learning (RL) policy models, MuJoCo simulation assets, and the interactive 3D Web Viewer for the MicroDuck small bipedal robot.
๐ Live Interactive 3D Demo
๐ Open MicroDuck 3D Web Viewer
(Play with the robot directly in your browser: forward walking, duck waddle, and physical soccer ball kicking!)
๐ฆ Repository Contents
index.html: Standalone Interactive 3D Web Viewer & Soccer Simulator (Three.js)policies/: Pre-trained ONNX policy checkpointsalpha_walking.onnx: Dynamic omnidirectional bipedal locomotionalpha_stand.onnx: Stable posture hold and disturbance rejectionalpha_sitstand.onnx: Continuous sit and stand-up transitionalpha_ground_pick.onnx: Ground object picking motionball_kick_left.onnx: Precision left foot ball kickroulade.onnx: Dynamic forward roll (roulade) motion recovery
robot/: MuJoCo MJCF XML definitions and 3D mesh assets (scene.xml,scene_ball.xml,robot_allcollisions.xml,assets/*.stl)infer_engine.py: Standalone policy inference engineapp.py: Offline simulation renderer
๐ฎ Features
- 3D Robot Anatomy: Realistic duck bill, neck linkage, and webbed duck feet
- Soccer Ball Mechanics: Physical contact-based ball kicking & dribbling
- Real-time Control: Keyboard WASD/Arrow driving & motion toggling
- Reinforcement Learning: 50 Hz control frequency trained with MuJoCo
๐ Quick Start
pip install mujoco onnxruntime numpy imageio