Text this: Generalized predictive control of dynamic systems with rigid-body modes /