PeterH:
Possible to fill the gap with an IR conducting material? I have no idea what would be suitable.
Actually, I was referring to ultrasound as the project was obviously using that.
I haven't looked into IR rangefinders, which are a different thing entirely and presumably would work by measuring parallax. What Riva illustrated looks more like a proximity detector rather than a rangefinder.