r/robotics • u/Fuchio • 12d ago
Community Showcase UPDATE: I built a balancing robot with reinforcement learning
Enable HLS to view with audio, or disable this notification
Hi /robotics!
Two months ago I posted a video about this robot and here is an update with improvements and changes!
Updated:
- Improved RL policy
- Custom carbon fiber sandwhiched leg design for stiffness increase (previously too much flex in legs with 3D printed ASA). Currently is still an issue for the wheels.
- Wheel diameter increased from 128mm to 200mm (bought Xiaomi E-scooter tires lol)
- New color ASA for cover + calibration pads on the legs
I also built multiple new robots in the meantime and got a sponsorship from a Chinese manufacturing company, so expect higher quality in the future!
The robot is still trained 100% on synthetic data, so it has never seen the real world, yet adapts perfectly.
It has a lean and level mode (single policy), in level mode it keeps both pitch and roll of the base level at all times, so the legs automatically retract or extend based on the ground below. In lean mode the right joystick of the controller can be used to decrease or increase stance height and leaning left/right at all heights, allowing roll to be non-level.
Main components:
- 6x Xiaomi Cybergear motor (all quasi direct drive, no linkages)
- Teensy 4.1
- 200 Hz policy inference
- 2x CAN bus (left / right leg split)
- BNO086 IMU
Trained in mjlab on single RTX3080 at home, about 7 hours of train time from scratch.
Happy to answer any questions!
Also; I post frequent updates and clips on my Instagram @ meetvertex. I will not post these on Reddit because I do not want to spam this sub.
9
u/RemarkableWish2508 12d ago
Is it weird that I hoped the wheel would fall off the curb to see how it handled that?
4
u/ReasonablyClever 12d ago
Looks great! I'm working on a hilariously similar bot, also using CG drives, and would love to see how you've done your training curriculum setup!
4
u/hydrocarbons77 12d ago
Can it balance and move on just one leg?
3
u/Latter-Letter-6942 12d ago
That's awesome! Is the design and colors inspired by the agility robots?
2
u/SphericalCowww 12d ago
Man, it really keeps on improving over time! How do you train it on different terrains, though?
2
u/Ensargx 12d ago
Hi, I’m just wondering how big is the AI model and where is it running on?
Are you sending data to computer or is it running inside?
2
u/playingcards_medic 10d ago
nicee, what's the total cost of this project? + Time spent
2
u/GooglesExpert 12d ago
Do you have youtube. Please consider posting on it if not already doing.
What actuators are these?
It really looks very cool. Love it.
2
u/bacon_boat 12d ago
How are you handling the sim2real gap?
1
u/disignore 11d ago
does it pass the butter?
1
u/ecoswatt2026 11d ago
The leg design looks like a big improvement. Going from 128mm to 200mm wheels is quite a change too. Really interesting that the policy was trained entirely on synthetic data. How does it handle uneven real-world surfaces so far?
1
u/Elegant_Cream_5848 11d ago
But why? 🤣
1
u/Snoo_42257 9d ago
Why such expensive motors?
1
u/elexresearch2026 9h ago
awesome !!
0
u/JackfruitFeeling8639 7d ago
Great job. Do you plan to put the code on GitHub anytime soon?
5
u/[deleted] 12d ago
[removed] — view removed comment