Self-Balancing Robot

Using a two wheeled robot rig and an IMU we were tasked with writing a python script that allowed the unstable robot to balance using the two DC motors, one attached to each wheel. Essentially creating a PID controller with the error term being derived from the IMU’s readings. We had to tune the PID values to optimise the robots performance.


Previous
Previous

Sketchbook

Next
Next

Zipple