Robot with light sensor on it for navigation