Control under constraint: an application of the Command Governor approach to an inverted pendulum