I have a task where I need to measure the relative length (short, medium, long) of a block before picking it up with a robot and I need help in figuring out the best way of doing that. I made a quick illustration of what I’m trying to do and have attached it to this post.
This is assuming I have a fully mobile Arduino based robot with the ability to pick up the blocks either with an arm of a scoop.
What I’m trying to figure out:
- The best sensor/method to measure the relative length of an object (short, medium, long)
I know this is probably easy to do using something like a camera and OpenCV but I don’t have room on the robot for much more equipment and I’m running everything off an Arduino.
I would appreciate any input on this - it’s been a tough one to figure out.