In this video tutorial we run the robot for 10 times and we demonstrate the consistency of the robot behavior with our advanced algorithm for smooth line following. What you will get from it is an understanding and demonstration of what can you expect from the robot.
- #1938
- 20 Jul 2022
- 3:05
- LEGO Education SPIKE Prime
- Scratch, LEGO Education SPIKE App Word Blocks 2, Programming, Light and Color Sensor
English
In this video tutorial we will do ten runs with our advanced program for line following and the goal is to demonstrate how accurate this program will make the robot behave and how good it is. Let's see. First try, we start, as you remember, we follow the line by using the reflection of the sensor and we arrive at this specific position on the field. That's it. We mark this with the phone that we have from the field from one of the mission models.
Again, you saw how the turn was rather large, but we arrived almost at the same position. Now, as we mentioned in the tutorial, we can't arrive at the same position every time because we are using a timer. And the problem with the timer is that it's a timer. We don't wait for a second event to occur on the field, we wait for a time to pass and sometimes the wheels, they slip on the map and that's why we are at a different place every time. Third, one more try here. It's the fourth run. The thing about this program is that we don't have to start at exactly the same location in the base, but nevertheless it's very helpful. So we should always try to start at the same location in the base. But even if we make a slight mistake, the program will probably compensate for this mistake.
And again, we arrived almost where we want the robot to be.
And this is what I want to show you in these ten runs, one of the runs we missed, kind of missed the turn because at this specific point, the reflection there must be something with the reflection there and in one of the runs we missed, and that's quite interesting. It doesn't happen very often, but in the recording of this tutorial it happened. What you should take from this tutorial tutorial that this program makes the robot rather consistent. See you in the next tutorial.
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons
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