Measure distance and surrounding geometry with ultrasonic sensors, infrared devices, radar, and lidar. Compare range, field of view, reflectivity effects, interference, and environmental limits.