It’s supposed to have LIDAR or similar sensors which detect obstacles in front of it - whether or not they’re illuminated. Part of the point of these autonomous vehicles is that they’re supposed to have better ways to detect potential problems than a human driver, and this shows that wasn’t the case.