About auto balancing

Soo im trying to do tha automatic balancing but i dont knvow which equipments or modules we need to achieve it and if it is possible with roborio 2.0

You would need a imu (navX or pigeon)