When aligning backward the robot is still very consistent. It does not matter the direction in which we align. What you will learn from this tutorial is what is the consistency and reliability of the robot that you could expect.
- #1942
- 20 Jul 2022
- 2:09
- LEGO Education SPIKE Prime
- Align, 10 out of 10, Scratch, LEGO Education SPIKE App Word Blocks 2, Programming, Light and Color Sensor
How to use this tutorial?
Watch it. Watch it again. Watch it several times. This might easily be one of the most important tutorials and concepts that you will see for FIRST LEGO League competitions. The competition missions are not accomplished with complex programs, but rather with small simple programs that are well connected on after the other.
English
This is a ten out of ten tutorial in which we do ten runs and we align with the two sensors of the LEGO Education SPIKE Prime and we align to a line by moving backward. We've done the tutorial and now we would like to see how consistent and reliable this program is by doing ten runs. Start. Move backward. Align. Perfect execution. Let's try again from the other side. Again. Really well positioned robot and know where the robot is on the field. Technically, the program for aligning forward and backward with the robot is one of the most useful for FIRST LEGO League competitions because it's quite easy to implement. It's very consistent and very reliable. And you know where the robot is on the field. Again.
Let's do it one more time.
The way the program works is that it moves backwards and the moment one of the sensors detects a black line, it stops the corresponding motor on its side and only the motor on the other side will continue working. Now you can see how it looks from the other side. Move backwards. Align. What you could do now is download the program and start experimenting with the robot. Start experimenting and see how consistent and reliable the behavior of the robot is. See you in 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

Backward align to a line with two sensors
Instead of aligning forward as in the previous tutorial we felt there is a need to demonstrate how we could align backward when moving with the robot. This is not a rare case. The attachments of the robot are generally at the front of the robot and especially during FIRST LEGO League competitions the robot must move backward very often. It is helpful to have in your toolbox the ability to align backward with the robot.
- 2
- 0
- 1
- 3d_rotation 1