Robot with a solar panel