line following car use PID algorithm and my own algorithm that scale 8 LDR sensors into high resolution line tracking sensor (216 positions or more if need). PID was tuned by PSO algorithm