The goal of this class is for students to learn and practice following a line with a three states program.

To access the full video please subscribe to FLLCasts.com
- #1310
- 20 May 2019
The first task in construction and theory reviews the sensor from last lesson. The goal of the task is to show that turning has a limit, but the number helps with the additional tasks.
The goal of the first two tasks for programming is to warm up.
For the next tasks you will need something to mark the island. Tape to the floor or a LEGO box would be perfect.
The goal of the tasks is to keep the sails pointing in the same direction, independent from where the robot is pointing itself. With two conditions in the program this is exactly like the program from the previous lesson. The sails move left-right. Pay attention for the students not to set the power to high, because then the robot just "claps" with the sails.
Turning around the island is just symbolic and designed to give students the chance to realize the problems of the programs with two states. To turn around the island they must start while still far from it. The turn should not be large.
The last two tasks help students to develop a three states program for following the wind, just like it is shown in the lesson. The only thing that is shown differently and could confuse them in this case is that the program should stop the sails.
You could find the program here: https://www.fllcasts.com/programs/i9jdwn-program-for-the-ev3-sailship-robot-yolanda
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons

Level D2. "Seafaring". Robotics with LEGO
The eighth level of the Robotics with LEGO curriculum for students in third or fourth grade.
In this level, students learn to use the fourth sensor in the robotics set - the gyro sensor. The robots are modeled after boats, yachts, and ships. With the help of the gyro sensor, students can set a course for their robots to a given angle and can detect deviations from the course. In open seas, there may be sea-monsters and the robots are being programmed to detect a sudden change in acceleration with the help of the said sensor.
- 24
- 2:49
- 107

Lesson 6 - Catching the wind
In the next lesson we usually do a graduation. Write down your impressions about the students and the reasons why they have the grades you gave them.
- 3
- 5
- 9
- 3d_rotation 1
![Image for [In Development] The fun level - Game-oriented introduction to LEGO robotics](https://d2nmr6p48f8xwg.cloudfront.net/content_pictures/pictures/000/002/636/a4f229bae5979562f6bfe32adc6281e577e312674a0cc5c98f8fdfe15e7c7da9b89f826a037575a5LEGO-Mindstorms-Ev3-Yolanda-Sailship-Robot-Fllcasts.png)
[In Development] The fun level - Game-oriented introduction to LEGO robotics
A level, designed for introduction in LEGO-robotics, focused mostly on games. We use goal-oriented challenges to make the students want to accomplish a certain task, learning a lot in the process. Some of the games we have included here are football, bowling, paper-plane competition and many more. It is suitable for studens 8 to 12 years old, but even older students will have a lot of fun with the activities.
This is a brand new course that we are experimenting with in a groups in June 2019. Keep in mind that it is possible to use it for summer camps and groups, but there are a few lessons that will be improved on the fly.
- 50
- 58:06
- 32

Lesson 7
Yolanda comes from the novel "Yolanda, the Black Corsair's Daughter" by Emilio Salgari.
The robot resembles a sailship with two masts. The mast in the back is connected to a medium motor, which allows it to rotate with some limits. The mast also has a gyro sensor in the back. These are placed so that the gyro sensor detects which way "the wind is blowing" and moves the sails that way. The second mast is connected to the first one so that it moves accordingly. The robot also uses two large motors to move.
- 1
- 0
- 0
- 3d_rotation 4