On of the most precise ways to position on the FIRST LEGO League and other competition fields is to follow and align and in this tutorial we demonstrate exactly this - how consistent and reliable this method is to reach specific mission models. In this way you know that every time you will be at the right place, which is great.
- #1944
- 10 Aug 2022
- 3:32
- LEGO Education SPIKE Prime
- Align, Line follow, 10 out of 10, Line following, Scratch, LEGO Education SPIKE App Word Blocks 2, Programming, Sensors, Light and Color Sensor
How to use this tutorial?
Try to replicate the behavior of the robot here. Make sure you can have your robot behave as consistent and reliable as the robot on the video
English
In this video tutorial we demonstrate the consistency of our program for following a line and then aligning to a line and we'll do ten runs to demonstrate how consistent the robot is and how reliable the program is. Move forward then check the black line while following and then we align. Let'S see the first run
let's see. Move, follow. Detect the black line first to the white then to the black double alignment we arrive at this position and I'll use this phone mission model just. To mark the location. Second time again follow,
detect a black line, align to the white, align to the black stop. We are at the same place we are very consistent and now check out this we start from a different place we don't start from the base and again very consistent. Same place. So it doesn't matter even where we start from we can start from a different location. Again move detect the line with follow. There is no timer there are no degrees we are dependent entirely on the sensors. This is extremely precise and we've shown it here for this line and this third but we can also interpolate this to more complex lines and more complex missions where you must reach the other end of the field. Again - perfect execution. You can see that the robot arrives at the same place every time it doesn't matter where we start from as long as it can get in detect the line. Move. It waits for the black line on the right.
Move this green that the F sensor the sensor on the right is expecting it is not black, it is green and we are waiting for black. This gives us the opportunity to use this program because there are no other black lines that sensor F the right sensor will detect move again the same position what you should do with this program? Download it and experiment with this. This is one of the most reliable ways to program the robot
very consistent. See youin the next tutorial.
Курсове и занятия включващи този Урок
Този Урок е използван в следните курсове и занятия.

LEGO Education SPIKE Prime Programming for Competitions with Word Blocks
Two fundamental concepts are essential for robotics competitions: ensuring the robot consistently navigates and positions itself accurately on the field and designing attachments that complete missions once the robot reaches its target. This course focuses on the first aspect - precise navigation and positioning - while the second is covered across the entire FLLCasts platform, starting with the FIRST LEGO League with LEGO Education SPIKE Prime. "Challenge" competition for 9-16 years old
The goal of this course is to help you learn how to program LEGO Education SPIKE Prime robots to operate consistently and reliably in competition settings. We use LEGO Education SPIKE App Word Blocks, a Scratch-based programming language, to teach key techniques applicable to FIRST LEGO League and World Robot Olympiad competitions. Topics covered include different methods for line following, such as fast, slow, smooth, and using multiple states, as well as techniques for line alignment, double alignment, and maintaining a straight path using the motion sensor.
- 40
- 188:21
- 19

Follow and align
In this video tutorial we show how you can build robots that position on the field consistently and reliably by following and line and then aligning to a line. We also demonstrate the concept of "double align" which is quite powerful and even if there were some mistakes they will be handled.
- 2
- 0
- 1
- 3d_rotation 1