Title: Leg Collision Avoidance in a Robotic Device