I mean a autonomous vehicle should be programmed to not speed and even not drive faster than reasonable in the present condition.
In switzerland we have a law that you are not allowed to drive faster than the speed with wich you can come to a full stop at the farthest spot on the road that you can see. (So in a curve you have to drive slowly, because there could be something on the street right in front of you.)
If a autonomous vehicle respects such rules, then it at least has eniugh time to calculate several outcomes and choose one which has the least damage potential.
The trolleyproblem is not applicable here as its not a theoretical situation but a practical one.
Die Schweiz hat das beste System soweit ich weiss. Aber ich lasse mich gerne belehren und höre sehr gerne mögliche Verbesserungen.