A geometric derivation of numerical integrators for nonholonomic systems and
optimal control problems is obtained. It is based in the classical technique of
generating functions adapted to the special features of nonholonomic systems
and optimal control problems.Comment: 6 pages, 1 figure. Submitted to IFAC Workshop on Lagrangian and
Hamiltonian Methods for Nonlinear Control, Sevilla 200