![Image for Simple (2 state) line follow with Color Sensor from LEGO Education SPIKE Prime](https://d2nmr6p48f8xwg.cloudfront.net/content_pictures/5351/p360/06066ef9a173eff1051e128f53c4a179/1933-simple-2-state-line-follow-with-color-sensor-from-lego-education-spike-prime.png)
![Icon marking that this video tutorial is pro](https://d2nmr6p48f8xwg.cloudfront.net/assets/pro-1eacc4383170f599a2de3165b9fe81736b5e09ccef269bc930bb9cd78f49f588.png)
Simple (2 state) line follow with Color Sensor from LEGO Education SPIKE Prime
In this video tutorial we demonstrate the classic algorithm for following a line with robots. It is widely used in FIRST LEGO League competition and could be applied to LEGO Education SPIKE Prime and to other robots also. The algorithm follows a line by moving to the left and to the right and trying to stay at the edge of a black line.
- #1933
- 29 Jun 2022