Photosensor for robotics, Proximity sensor in material handling