This LEGO Education SPIKE Prime video tutorial demonstrates the difference in turning slow and turning fast and using the Motion sensor to understand the orientation of the robot. We do 10 consecutive runs. The goal is to understand what can you expect from the robot behavior in terms of consistency.
- #1926
- 02 Jun 2022
- 3:08
- LEGO Education SPIKE Prime
- Scratch, LEGO Education SPIKE App Word Blocks 2, Programming, Motion Sensor, Gyro Sensor
English
In this video tutorial, we will use the LEGO Education SPIKE Prime robot and its motion sensor and we'll do ten consecutive tries of the previous program of how we rotate the robot fast and slow to 90 degrees.
Let's do the 10 seconds on 60 plus first ten times very fast. As you remember from the explanation of the program from the previous tutorial, we have two programs uploaded on the robot. It's a one program, but we can control it with the left and right the button. So left and we rotate very fast and return back. Let's see again, very fast and return back and you see that it's not exactly the same each time, very fast and return back. So even though the robot is aligned in the same way, it is not in the same position. So this very fast way of moving the robot, it's fast, but it's not very accurate and it's not very consistent. It's consistent when it comes to the angle, but the robot is in a different position every time after we turn. This is because of the friction of the wheels, of the friction of the field. Again, that's a tool. You can use this tool if you need to turn the robot very fast because you want to save some seconds. But a different approach would be to turn the robot a little bit slower. Let's see ten consecutive runs of this example. How do we turn the robot slow, return and see the end position? Well, it's not exactly 90 degrees. That's a configuration for every robot. The point here is that it is more consistent when you turn slower. With robot, the end angle is more consistent and it's the same. The position of the robot is the same. Again, we try to align it each time to the black line.
And with these ten consecutive runs, what we hope is for you to see that sometimes it pays off to be a little bit slower with the robot and to turn slowly. Use the motion sensor to detect the degree to which you want to turn the robot. But if you are slower, you have less inertia, you get a much more consistent product. Again, check out the previous tutorial of how exactly the program works and how we've developed the program.
Курсове и занятия включващи този Урок
Този Урок е използван в следните курсове и занятия.
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
Motion Sensor - fast turn
Is it better to do fast turns or slow turns? Should you save some time by turning fast or should you be more precise by turning slow. Where is the balance? This video tutorial demonstrates exactly this for LEGO Education SPIKE Prime robot, their motion sensor and an ever occurring question on FIRST LEGO League competition which is how to find the balance and where is the balance.
- 2
- 0
- 1
- 3d_rotation 1