Using a PID controller to do an inverted pendulum.