The two main methods of controlling a double inverted pendulum are moving the base, as with the inverted pendulum, or by applying a torque at the pivot point between the two pendulums.
The two primary ways to manage a double inverted pendulum are shifting the base, like in an inverted pendulum, or by exerting a torque at the pivot point between the two pendulums.