With this video tutorial we demonstration the consistency and reliability of the using an intersection to position on the field. We move forward and we stop at the first intersection. We detect the intersection with a sensor. In the whole 10 runs there isn't a single mistake and you can see the precision of the robot on each run. Check it out and experiment with the same program for your robot.
- #1946
- 08 Aug 2022
- 3:03
- LEGO Education SPIKE Prime
- Line follow, 10 out of 10, Line following, Scratch, LEGO Education SPIKE App Word Blocks 2, Sensors, Light and Color Sensor
English
This is a ten out of 10 tutorial in which we follow the line and we stop at the first intersection. Why? Because in this way we build consistent, reliable road robots that do not depend on rotations and on timer, they depend only on sensors. And this time, the intersection.
How consistent and reliable could the robot be with this program? We start, we move, we reach the intersection, we stop. That's it. Now we can start from a different place. You don't have to start from the same place, because we don't depend on rotations and we don't depend on timer. We just depend on the events that on the right side of the robot there will be a line. And even if the wheels slip or the battery is low or something pushes the robot on the side or any other thing happens, it doesn't matter. We are not in any way dependent on this. We are not in any way affected by this. We just move forward until we see another line on the right. And as you can see, the robot is quite consistent and it also is very reliable. It arrives at the same place every time. And we'll extend this program in some of the next tutorials. Also, after we reach this intersection, we will align on this intersection, we will align to the line, which is also improving the accuracy of where we are on the field. For now, first step, just move forward and stop at the first intersection. One more try. As we discussed in other tutorials, this algorithm for line following, it could be configured so you can configure how sharp the turns are. And you can do this by configuring the movement block that we use in the program. And in this way you can configure the robot to follow the line in a way that's kind of smooth or in a way that has more sharp turns. And this depends on what you want to get from the road, what you should do. Check the previous tutorial, check the program, check the explanation, download, experiment, and make sure you understand how you can stop on an intersection because it's one of the most important concepts. See you in the next tutorial.
Курсове и занятия включващи този Урок
Този Урок е използван в следните курсове и занятия.

LEGO Education SPIKE Prime Programming for competition with Word Blocks
Two concepts are important for robotics competitions - consistently navigate and position the robot exactly where we need it to be on the field, and builing attachments that would accomplish a mission once we have reached it. This course is focused on the first part. The second part is the whole FLLCasts platform, but start at FIRST LEGO League with LEGO Education SPIKE Prime. "Challenge" competition for 9-16 years old
The goal of this course is the help you learn to program LEGO Education SPIKE Prime robots to behave consistently and reliably during competitions. As a language we use LEGO Education SPIKE App Word Blocks which is based on Scratch. We look at a lot of concepts that could be used for FIRST LEGO League and World Robot Olympiad competitions - eg how to follow a line fast, slow, in a smooth way, with 5 states. Also how to align to lines, how to do double alignment, how to keep a straight line with motion sensor.
- 40
- 188:21
- 19

Follow a line and stop at an intersection
In this video tutorial we demonstrate a really important concept for FIRST LEGO League competitions - you position the robot on the field with depending on timers and rotations. The issue with moving the robot for 10 seconds and then stopping is that every time it is in a different location. Same for rotations. The wheels will slip, the battery will change, something will happen and the robot will not be in the same place every time. This is not consistent and reliable.
- 2
- 0
- 1
- 3d_rotation 1