Text this: A Hybrid Control Framework for Swing-Up and Stabilization of the Double Inverted Pendulum on a Cart