Suddenly, a child walks out from your left, from behind the bush.
A car is coming the other way.
What do you think you'd do?
a) try to stop
b) hit the oncoming car head on
c) drive through the fence
Now, if you were programming a driverless car and you had these inputs, what would you program it to do? You can't choose at the time, you have to program it to KNOW what to do.
a) trying to stop would reduce your speed to 46.7 mph on impact with the kid. Newton's law says the kid will be lucky if it just dies
b) the other driver will try to stop as well and you will hit it at a closing speed of 93.4 mph with the kid between the two
c) those fence posts are concrete, the first law of robotics forbids you that course of action
Asking for a friend.