Active fault tolerant control of nonlinear systems: The cart-pole example