I am trying to make an autonomous car that avoids obstacles using fuzzy logic. the input of the fuzzy logic will be the current speed and the distance and the output will be the speed of the 2 motors (left and right).
I am going to use
Arduino uno r3 board
IR Infrared Obstacle Avoidance Sensors
Smart Robot Car Chassis Kit
L298N Module Motor Drive Controller Board
my question is how to program it with fuzzy logic and if I need to add more parts?