It need to have enough sensors, thats not hard. It also needs to have a failsafe. Two sensors everywhere, each controlled by a seperate CPU and seperate power supply. If both fail the cars own ECU will cut power in the case of a autonomous vehicle, if it was a vehicle where it required a human in the drivers seat, it will cut power until the steering wheel etc was manually controlled
There are so many accidents caused by human frailty
Two doesn't do it, you need three and a majority voting system so you can ascertain which of the three is faulty - to do it properly this gets complicated and expensive really fast.
Human frailty affects system design and software coding too. Thats the point. If one individual driver is inattentive then there is usually one accident as a result before corrective action is taken. If a software designer is inattentive on driverless cars then you could have many accidents before it is traced as a root cause and fixed...
Four is overkill. It will be better but it wont exist as its too costly, hence lets cancel self drive permenantly
There is a vast difference between me making a silly human mistake and a coding shortfall. There is not a huge amount of scenarios to test. Its gets coded, its gets tested. When a sensor sees this, it does that. If you brainstormed all the kinds of accidents I could face in real life there is not that many. Something comes at me from ahead at a 90 degree swath (45 each side peripheral). Or comes at me from the side, or the rear. I get a blowout, engine seize, suspension failure and so on. There is not a lot that will face the car, and thus that the software needs to manage. Detect and avoid, following the best means to manage the physics that exist, momentum, traction, what the car can achieve
Or if its seen as too hard to get right, forget it entirely. Let humans make these decisions