What I did Wrote a C++ program for balancing a robot using a PID controller and sensor fusion on pitch and velocity Made a model of the system by solving for its transfer function and reverse-engineering the physical model Used MATLAB to view the root locus plot and step response to tune PIDs by checking the transient behavior