Search models, users, collections, and posts

QuadroBot // Robot "Spider"

GIF

Print Profile(1)

All
A1 mini
H2S
X1
H2C
X1 Carbon
A1
P1S
H2D
P2S
X1E
P1P
H2D Pro
X2D
A2L

0.2mm layer, 2 walls, 15% infill
0.2mm layer, 2 walls, 15% infill
Designer
5.9 h
5 plates

Open in Bambu Studio
Boost
15
44
1
2
28
6
Released 

Bill of Materials

Maker's Supply Kits and Parts
Select all
9g Positional Digital Servo-180° (1PCS) - PG001
M3x20 SHCS Machine Screw (10PCS) - AA040
M3 Carbon Steel Hex Nut (20PCS) - AB005
Bambu Filaments
Select all
Filament with spool / 1kg*4
List other parts
  • Arduino UNO Q x 1:
  • PCA9685 16 Kanal 12 Bit PWM x 1:
  • QUARKZMAN 6702-2RS 15x21x4mm Kugellager x 10Stk x 1:

Description

Boost Me (for free)

My next project is a Robot Dog, where I will also release the training files. Stay excited!

 

I built a 4-legged spider robot that learns to walk using reinforcement learning. The physics were simulated in Godot 4.5, where a PPO neural network (23 inputs, 256×256 hidden layers, 12 outputs) was trained via Stable Baselines3 on a 50-core Ubuntu server running up to 50 parallel headless instances. The robot first learned to stand stably (Phase 0), then automatically transitioned to walking once the mean reward exceeded 6.5 (Phase 1). The simulated joints behaved like real servos, receiving target angles and moving at a realistic speed matching the actual hardware. The reward function encouraged upright posture, correct body height, foot contact, joint symmetry, smooth movements, and penalized drifting and jittery behavior. The trained model was exported as ONNX and deployed to an Arduino UNO Q with a PCA9685 servo controller driving 12 servos (3 per leg: hip horizontal, hip vertical, knee), using an LSM6DSOXTR IMU for real-time balance feedback.

 

At the moment, I cannot release the neural network because I am still learning how to do it in the best way. But for everyone who is interested, here is a nice graphic ;)

 

As you can see, I tried a lot of different things. The data shown here indicates that my networks always reached a point where they failed. On the y-axis, you can see the reward. If the reward gets close to 8, the robot is able to stand properly. From that point on, it would start training to walk. As you can see, I have not reached the point yet where it can walk. But standing up from different positions worked quite well. I cannot wait to dive deeper into that.



If you want to try your own stuff feel free to share it on makerworld. Also just one Tipp: Use a 9g Servo with metal gears ;)

Happy hacking!!!

Comment & Rating (1)

(0/1000)

License

This user content is licensed under the MakerWorld Exclusive License.

You may create derivative works based on this object, provided that all such derivative works are published exclusively on the MakerWorld platform and include proper attribution to the original creator. You may not share, upload, host, distribute, or publish this object—or any derivative work of this object—on any other digital platform, marketplace, or distribution channel. Commercial use of this object and any derivative works is strictly prohibited. This includes, but is not limited to, selling, renting, sublicensing, or using the object in any context in which you receive monetary compensation or other financial benefits.