Homework Statement
I am building a balancing robot like the one here:
http://www.geology.smu.edu/~dpa-www/robo/nbot/
It's basically a body mounted on two wheels and its purpose is to control the motors as to keep the wheels under the center of mass and therefore keep the body in an upward...