I am supposed to design a pick-and-place robot. I have a prismatic joint to go down to a particular depth to pick an object which is located in 2D using computer vision. What is the recommended way to detect the height at which the object is placed? The object can be at a maximum vertical distance of 15 inches (around 38 cm).
What do you think is easier to implement for sensing this height? Any suitable cheap sensors for this arrangement? Or a stereo camera system?