

Wobble Line Following
This is the most basic line-following method, commonly known as the "ducky" line-following method.
- #2288
- 02 Aug 2024
This page shows all the robotics tutorials listed without specific grouping. Each tutorial is short, on specific topic, has a video. Tutorials are structured in sequence in Courses.
This is the most basic line-following method, commonly known as the "ducky" line-following method.
This is a 10 out of 10 video tutorial where we demonstrate the consistency and reliability of a LEGO Education SPIKE Prime Active attachment connected to the motors of the robot. The goal of this attachment is to accomplish the Bridge mission where we have to push both parts of the bridge and bring them down to connect them. We use some line following.
In this video tutorial, we accomplish a FIRST LEGO League mission called The Bridge. We demonstrate how to use a really simple active attachment where the goal of the mission is to push down both parts of the bridge. We do not enter into the programming and we leave it up to you as an exercise.
This is a recording of a completely perfect, 10 out of 10 accomplishment of a two-part mission - Train tracks, from the FIRST LEGO League 2021-2022 Cargo Connect competition. Due to the proper use of motion and color/light sensors, the robot is 100% consistent and reliable for a non-trivial mission. Even when the robot makes a mistake, it auto-corrects and compensates for this mistake.
This tutorial explains the use of motion and light/color sensors to accomplish a complex mission split into three parts. It gets into detail about how we keep a straight line with the motion sensor, follow a line with the color sensors, and transition between different parts of the program by aligning and detecting lines with the sensor. The goal is to get to a reliable and consistent behavior of the robot. On top of that, it is configurable, as we've left a few parameters that could be set to configure the behavior for a specific robot, venue, lighting, battery level, and wheels friction.
In this 10 out of 10 tutorials we do 10 runs that demonstrated how consistent and reliable it is to stop at the second intersection. This is useful as it is one of the main ways to figure out how to position yourself on the field.
In this video tutorial we take a next step in programming reliable and consistent robots and this is to learn how to stop at a second intersection. We need this because most of the time when we want to reach a mission model on a robotics competition field, the model will be located away from us and we must use all kind of technique to reach it. In this tutorial - we stop at a second intersection.
On of the most precise ways to position on the FIRST LEGO League and other competition fields is to follow and align and in this tutorial we demonstrate exactly this - how consistent and reliable this method is to reach specific mission models. In this way you know that every time you will be at the right place, which is great.
With this video tutorial we demonstration the consistency and reliability of the using an intersection to position on the field. We move forward and we stop at the first intersection. We detect the intersection with a sensor. In the whole 10 runs there isn't a single mistake and you can see the precision of the robot on each run. Check it out and experiment with the same program for your robot.
In this video tutorial we demonstrate a really important concept for FIRST LEGO League competitions - you position the robot on the field with depending on timers and rotations. The issue with moving the robot for 10 seconds and then stopping is that every time it is in a different location. Same for rotations. The wheels will slip, the battery will change, something will happen and the robot will not be in the same place every time. This is not consistent and reliable.
In this video tutorial we show how you can build robots that position on the field consistently and reliably by following and line and then aligning to a line. We also demonstrate the concept of "double align" which is quite powerful and even if there were some mistakes they will be handled.
Using everything that we've learned about LEGO Education SPIKE Prime competition programming we arrive at the final boss mission - how do we consistently reach a mission model at the other end of the field. Consistently. Every time. We use line following, motion sensor, counting of lines and border alignment. All the different concepts that we've looked at separately are now implemented together.
In this video tutorial we follow a line 10 consecutive times. In this way we demonstrate whats the consistency that you could expect from the robot when following a line with a multi-states algorithm.
With this 10 runs we demonstrate the consistency and reliability that could be achieved with a LEGO Education SPIKE Prime robot and a 2-states simple line following algorithm. It is not bad. Still there are some things you should consider when using this program and one of the things is the use of the timers
In this video tutorial we demonstrate the classic algorithm for following a line with robots. It is widely used in FIRST LEGO League competition and could be applied to LEGO Education SPIKE Prime and to other robots also. The algorithm follows a line by moving to the left and to the right and trying to stay at the edge of a black line.
10 out of 10 video tutorial for Rowing Machine mission from the FIRST LEGO League 2021 RePlay robotics competition. In the tutorial you will see how to accomplish the mission almost every time. This is a mission that requires a lot of precision so naturally it is difficult to accomplish it every time, but with the right attachment for the LEGO Education SPIKE Prime robot it is achievable
This LEGO robotics video tutorial is a 10 out of 10 run of the one of the most complex missions at the FIRST LEGO League 2021 RePlay competition. As the mission has three parts we are measuring the success rate of each part of the mission. What you can learn from this tutorial is how to achieve three missions in a single run including line following and a lot of aligning
In this LEGO robotics video tutorial we will accomplish mission 8 from the FIRST LEGO League 2020 RePlay competition. The name of the mission is Boccia. What you will learn from the video is how to accomplish complex missions that require following a line, aligning to the line and accomplishing many mission models in a single run
This tutorial demonstrates how a robot could align to a black line. The code for the program is available in the course. Aligning to black lines is popular at robotics competitions like FIRST LEGO League as it is the primary way to know where you are on the field and to develop a program that is reproducible. The attachment uses Luly, a small LEGO Education SPIKE Prime competition robot with 3D building instructions as a robot base.