Well there are still more decisions that we haven't discussed: moral decisions. If there is no course of action that entirely avoids harm or tragedy, a morally relative decision needs to be made. It is better to hit the rear-end of an SUV than a person; it is better to run over 1 person than 3; it is better to run over an adult who might survive than a young child who will certainly be killed.

If all else is equal, and there is no other way out, and a vehicle has to decide between running onto a sidewalk and hitting a black person or a white person, who does it choose and how? I'll make it easier.

Lets say two girls (one white and one black) are riding down the street on their bikes and you are coming up behind them. A car with an entire family in it is coming towards you in the opposite lane, and you have your family in your vehicle. The white girl falls off her bike and rolls right into your immediate path.