3D dynamic walking with underactuated humanoid robots: A direct collocation framework for optimizing hybrid zero dynamics | Synapse