FLL 2021: 10 out of 10 on keeping a straight line - How to accomplish the Unload Cargo Ship mission Pro Preview

In this video tutorial, we use the motion sensor and demonstrate 10 out of 10 times how we can keep the robot moving in a straight line. The program is described in the previous tutorial in the lesson where we enter into the programming. Here we visualize how consistent and reliable the behavior of the robot is.

  • #2073
  • 21 Feb 2023
  • 2:15

English

In this video tutorial we use LEGO Education Spike Prime to move straight and to push on mission model from the FIRST LEGO League Cargo Connect competition. And we are doing it ten out of ten to demonstrate how we can move straight with this LEGO Education SPIKE Prime robots. First run we start the robot. Move forward and you see how the robot moves to the left and to the right, to the left, to the right. And we've discussed this in the previous tutorial where we discuss the programming of this robot. This is how we keep a straight line. We compensate for the error that the robot is making. When this robot starts, it always goes slightly to the left or to the right because of the motors, because of the way the LEGO Education SPIKE Prime is constructed, because of many different reasons, because of the wheels that slip on the field. But it goes to the left or to the right, and then we compensate for the error because we have the motion sensor. Let's see again move and we compensate and we keep a straight line. So the point here is not that we push on our mission model, that's something that everybody could do. We can push, we can just move forward and push. The point is that we try to keep a straight line when moving forward and backward and you see how consistent and reliable this behavior is. Start. The robot goes slightly to the right. Then compensates. Then returns. One more time.

This is it, ten out of ten for this unload cargo ship.

With this program we can see it's a more consistent and more reliable as a robot behavior. Hope this is helpful and I'll see you in the next tutorial.

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for FIRST LEGO League 2021-2022 Cargo Connect solutions and review with LEGO Education SPIKE Prime
  • 55
  • 181:18
  • 34
Image for M07. Unload Cargo Ship
  • 3
  • 1
  • 2
  • 3d_rotation 6