Tell us about yourself!
Tools and Materials for Arduino
Welcome to Arduino
It's a little crude, and unless angled properly wouldn't be able to do height and such, but it may help with horizontal navigation. Hope I helped! .-.
You could use a distance sensor to constantly check if it's within 'X' distance of a wall or other object, and when it's that close, "tell" the little thing to turn. Any distance sensor could work for this type of project, I'd think. Maybe unsupported, but if you can code a little, it shouldn't be a big deal.