I’ve always been fascinated by robots that can balance themselves on a ball.
It’s one of those builds that looks like magic, but it’s ultimately just a fast feedback loop. The robot constantly measures the tilt of the robot using the gyro sensor and adjusts the motors to keep the robot upright.
I've published a tutorial for the MINDSTORMS Robot Inventor set previously, but it was high time for a SPIKE Prime Edition! You can find the step-by-step instructions here.
Pybricks contains several unique features to make this possible. Not only does it run about 20x faster than the original MINDSTORMS software, it also contains dedicated commands and blocks to measure the right (unfiltered) gyro angles, which is critical to make a robot like this work.
Leave a note if you give this a try!
Laurens Valk
2024-10-19 16:25:34 +0000 UTCPatrick Studios
2024-10-19 14:52:29 +0000 UTCPatrick Studios
2024-10-19 14:52:10 +0000 UTCLaurens Valk
2024-05-29 06:41:42 +0000 UTCDaniele Benedettelli
2024-05-28 20:17:13 +0000 UTC