02/12/2016 01:28 EST | Updated 02/12/2017 05:12 EST

Self-Driving Cars' Real Problem Will Be Making Ethical Decisions, Audi Exec Says

FILE - This May 13, 2014 file photo shows a row of Google self-driving Lexus cars at a Google event outside the Computer History Museum in Mountain View, Calif. Of the nearly 50 self-driving cars rolling around California roads and highways, four have gotten into accidents since September, 2014. That's when the state officially began permitting these cars of the future, which use sensors and computing power to maneuver around traffic. Three accidents involved Lexus SUVs run by Google Inc. The fourth was an Audi retrofitted by the parts supplier Delphi Automotive. Google and Delphi said the accidents were minor and their cars were not at fault.(AP Photo/Eric Risberg, File)

TORONTO — It's the ethical decisions made behind the wheel — and not technological hurdles — that will pose one of the most difficult challenges to automakers assembling self-driving cars, a senior Audi executive said Friday.

Markus Auerbach, who heads up the Audi Innovation Research office in San Francisco, said developing self-driving technology is only one component of the shift towards autonomous driving.

The bigger challenge will be the ethical decisions that robots will have to make while driving, Auerbach said.

He cited the following example: an autonomous vehicle that can't avoid a collision could be forced to choose between hitting a child who is crossing the street and an elderly woman on a bike.

"A car, out of control, is a weapon,'' Auerbach said during a panel at the Canadian International AutoShow in Toronto.

canadian international autoshow

Vehicles on display at the at the 2016 Canadian International Autoshow in Toronto on Thursday, February 11, 2016. (Canadian Press photo)

The machines that control the vehicles will need a framework to make decisions in such cases, and that means society will have to confront some difficult ethical issues, Auerbach said.

The Ontario government announced last fall that it will allow for self-driving cars to be tested on its roads starting this year.

Economic Development Minister Brad Duguid said Friday that the province's goal is to become "one of the easiest places on the planet'' for automakers to conduct research on technologies such as autonomous driving and electric vehicles.