Flow Chart
Flow Chart: Self Drifting Cars Self Drifting Cars Flow Chart Self Drifting Cars Flow Chart as shown in figure above, start with analog infrared sensor to detect distance in front direction of the cars, accelerometer received acceleration of the cars, ultrasonic sensor received distance between the cars and the wall to calculate offset angle by using PID controller to steering car direction and to avoid collision from the wall, then we can limit speed of the cars by using HAL-sensor with PID controller then send command to steering and speeding the cars and then the cars send back about current data to raspberry pi