I'm required to use a sonar sensor. plus, with the car speed a touch switch can cause damages.
I was thinking to assign a minimum distance between the car and any other object, then
IF DISTANCE = MINIMUM;
THEN send some type of output the turn the motor off;
is this possible?