Zaslat SMS: Dynamics and control of hybrid mechanical systems