You know how everyone says "What are we going to do about the ethics of letting a car drive for us when it gets into a situation where it has to decide between two bad outcomes?" I just figured out a solution.

We'll have two large buttons on the dash, and they will each have displays next to them. Say your car gets into a situation where its only options are to plow into a tree or bowl over a small child in the street... At that instant, the buttons will light up bright red, and one will display an image of the child while the other will display an image of the tree. You will be able to push one, and the car will run into whatever you push. If you don't push fast enough, I guess the outcome would be randomized or something.

There, ethical dilemma solved, the control is back in the hands of the driver.