Depth helps a robot know how far an object is and how to grasp it. Common methods include time-of-flight and stereo vision.