Mount an inexpensive HC-SR04 sonar rangefinder on Legos.If somebody prints it, let me know how well it (doesn't?) work. I'll be more than happy to tweak it and make it better.