with means for detecting obstacles outside the doors