Skip to content

apirrone/Open_Duck_Mini

Repository files navigation

Open Duck Mini

This project is still a work in progress !

Capture d’écran du 2024-07-22 18-15-29

I'm making a miniature version of the BDX Droid by Disney. It is about 35 centimeters tall with its legs extended.

This is a policy trained in Isaac Gym with AWD.

bdx-2024-10-19_15.19.37.mp4

Sim2Sim from Isaac to Mujoco

bdx-2024-10-19_15.31.13.mp4

This is a policy trained in Isaac Gym for standing up while being robust to perturbations.

open_duck_mini_stand.mp4

Sim2Real walking is starting to work !

bdx_real_cut.mp4

This repo

This is kind of a hub where I centralize all resources related to this project. This is a working repo, so there are a lot of undocumented scripts :) I'll try to clean things up at some point.

CAD

https://cad.onshape.com/documents/a18ff8cc622a533762a3a6f5/w/27ef6089ad5fe9ba396b6036/e/9ce9b71d7a21eb04415b067f

See this document for getting from a onshape design to a simulated robot in MuJoCo

Idler cap https://cad.onshape.com/documents/be101dee8170780f05a04bfa/w/c49eb6dbb859e081d7ac252c/e/935d77385a5196902c262118

RL stuff

We now use AWD

Actuator identification

We used Rhoban's BAM

BOM

Note : I switched to using xc330-M288-T servomotors instead of xl330-M288-T for the legs. They are more expensive, but way more powerful. Maybe we'll try to go back to xl330 servos once everything is working properly with the xc330.

https://docs.google.com/spreadsheets/d/18hrYgjaE9uL2pnrnq5pNUzFLZcI4Rg0AvSc9sqwE680/edit?usp=sharing

Assembly Guide

TODO

The current version (alpha) is not very easy to build, has some mechanical problems (too much play at some joints). After everything works on this version of the robot, I will redesign it from the ground up, trying to make it more accessible and better mechanically designed !

Embedded runtime

This repo contains the code to run the policies on the onboard computer (Raspberry pi zero 2w) https://github.com/apirrone/Open_Duck_Mini_Runtime

Resources

Interesting papers and resources

Directly BDX related (from disney)

Bootstraping by behavior cloning

References

Imitation learning

MPC

Thanks a lot to HuggingFace for sponsoring this project !