Design, modeling, and control of a two degree of freedom pendulum on an omnidirectional robot