You may also want a sonic ranger for a second way. IR won't work too well under natural sun light and different things reflect IR differently. If you also have a sonic ranger, you will very less likely miss an obstacle when both sensors fail to detect. I use sonic rangers to help me back my car

It's posted on the exhibition board.