Alphabot2 for micro:bit User Manual
TRACKING
We have learned how the tracker sensor work, now let's create a new project to do
the line tracking.
-P is the tolerance of position. positive: robot deviation to right; negative: robot
deviation to left.
- D is the difference between current P and last P, bigger the D, faster the robot
response.
-dif is the difference which motor need to change, this value is based on P and D
76 / 76