responsive to imminent contact with an obstacle