Classifying the floor surface to help a robot