UB professor creates sensor that can predict potholes