If a motor vehicle produces an accident, there always is the question of who is responsible, to determine what damages need to be paid. This also applies to self-driving cars: A self-driving car is like a robot: Software is used for the driving. This software relies on a number of sensors to take decisions. Determining what went wrong in the case of an accident can be very difficult. This includes the question of who is legally responsible. 