Obstacle and Cliff Detection for Robotics Applications Using Miniturized Sonar and IR Distance Triangulation