I. Introduction
Trajectory optimization is a common method of deter-mining optimal behaviors for legged robot systems, solving for body and joint state trajectories with feed-forward motor torques, often written as a nonlinear programming problem (NLP) [1]. Standard trajectory optimization problems are set up for continuous systems. For legged robots, the problem becomes much more complex due to their inherently nonsmooth impact dynamics, typically modeled as a hybrid dynamical system (i.e. a system with both continuous and discrete states) [2], [3]. In order to locomote, legged robots impact and push off of the ground changing their discrete contact mode. This changes their dynamics and creates discontinuities in velocity that cannot be directly handled in a standard trajectory optimization problem.