Now on to finding the set point, place your bot on the dead center of the line. The position or the third column of the readings above will give you your ‘**set point**’. Note it down separately.

If you have time,verify the set point before your final run, more on this will come up in the tuning section.

Now we’ll build the complete PID algorithm. Continue reading