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 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
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