An essential property of an autonomous car is varying its
speed based upon the surface materials to avoid wheel slip and
accident. Usually Infrared (IR) sensors are used for obstacle
avoidance of autonomous vehicles. Here we have shown that
along with its obstacle detection capabality, infrared sensors
can also be used to detect the surface material