Deakstadieđáhus: Dynamics and control of hybrid mechanical systems