This robot moves across the table and avoids edges.

This robot detects edges of a table and avoids it.

http://bluestampengineering.com/portfolio-view/maya-s-2-2/