Bringing a multilink pendulum to the equilibrium position using a single control torque