My kid turned one and I wanted a MicroDuck, but it wasn't available yet. I had a box of used Dynamixel RX-28s left over from my hexapod, so I scaled the design up to fit them. Two weeks later it was walking around the living room, and now it comes to the playground with us.
Quack specs: ~40 cm, ~2.1 kg, 15 joints, PLA prints, a 4S pack made from spare 18650s, and a phone web page as the remote.
What I found most interesting:
- The walking policy runs on the ESP32-S3 itself. I trained it in MuJoCo using MicroDuck's recipe adapted to my servos, then shrank it to ~30 KB with int8 math. It takes 2.4 ms per step in a 50 Hz loop. A separate get-up network takes over when it falls. A big upside to running the policy on the esp32 is the short boot time. Turn the switch on and it can immediately start walking.
- It quacks properly. I ran LPC analysis on a real mallard recording, so ~300 numbers on the board make the quack. It follows the beak, and yes, it sings Bach. In the video it's singing the Goldberg Quodlibet while riding my Unitree A1. A quick note on the A1 - I modified its head to house a mid360 lidar, I can post more about the work I did with A1 if there's any interest (blind / sighted RL locomotion, mostly getting papers to run on it)
- You can play it like an instrument. The phone page has a Sing tab with a two-octave multi-touch keyboard, up to four voices at once with slides between notes. Every note pops the beak open, high notes make it look up, and there are knobs for attack, vibrato, breath and tone.
- It all runs on a custom controller board: an ESP32-S3 with RS485 and serial servo buses, an IMU, a speaker amp and CAN, in a Raspberry Pi HAT footprint. I made a small batch - if there's any interest, shoot me a DM. More info on the hat: https://baunuri.com/hat/
You can try the exact on-robot networks in a browser simulator and push it over: https://baunuri.com/xlduck/
Everything is open source, board included: https://github.com/baunuri/xl-duck
Happy to answer questions about the sim-to-real side, the quantization, or the board.
EDIT: if you want to try the policy with the phone interface, you can do so here.