Recognising and locating objecs with an ultrasonic and an infrared sensor