Gantry Collision Prevention