Scientists have claimed they have developed the first ethical algorithm.

The algorithm claims to weigh up the best bad choice within a split second when driving, such as who should the autonomous vehicle kill.

COSMOS Magazine journalist Petra Stock told 6PR Afternoons she would not trust an autonomous vehicle.

See omnystudio.com/listener for privacy information.