The "brains" for the line-robot shown at https://www.youtube.com/watch?v=DgfTVg0LRrY