You’ll agree with us when we say that making the script for our line following robot was tiresome; adding soooo many blocks, checking each motor individually every time, and whatnot.
But we have some good news! PictoBlox has some special blocks dedicated to make a line following robot that will replace ALL the blocks we used in the previous script. Let’s have a look at them!
Enjoy for REAL now!
As you would have noticed, the robot detects the checkpoints in the line follower block, we can do whatever we want at that checkpoint. Like in the previous code we made the robot stop on the checkpoint.
You can make the robot go forward as well to have it moving in the track without interruption like this:
We will use this checkpoint in many different ways in the coming lessons!
Before you move on to the next lesson, a small assignment awaits you!
Make a video of the project you made in this activity and upload it to the website.
Submitting the assignment is a must in order to receive the certificate after completing the course.
Follow the steps below to upload your assignment: