Hi, I'm working on a project right now where I need to be able to sense a rectangular hole in a "wall," and then calculate the center of that same hole. Imagine two vertical 2x4's spaced 2m apart and then 2 horizontal 2x4's between the vertical 2x4's spaced 1.5m apart for the "wall" in question; there isn't any drywall facing around this hole, just a 2x4 frame.
My question is, what kind of sensors do I need to be able to achieve my goal? Have any of you done this task and have sample code I can look at?
Thanks in Advanced