WIP: generalizing gait planner