Classifying the floor surface to help robots on different surfaces