Built by a team of 3 for Mechatronics and Robotics I, the self-balancing robot can maintain an upright pose with the assistance of an IMU and a PID controller.
Raw accelerometer data was insufficient to act as feedback for the PID controller
Filtering the accelerometer and gyroscope data with a complimentary filter allowed a smooth balance to be achieved.