Probably you've noticed that in the dark-blue section with blocks there is one block, that looks like a complete opposite to the block for starting the program. What is this block doing? How should we use it?

To access the full video please subscribe to FLLCasts.com
- #1259
- 08 May 2019
The block is quite simple in what it does. It stops the program. These block has no settings.
When and how could we use this block? The main purpose of this block is make the program stop when it can not stop on its own. For example, it could be used in an endless loop that should stop when a condition occurs. The same applies for all the other blocks that could block the program. Further more if the robot makes a mistake and goes in a wrong direction, we could use this block to stop the whole program.
As the block is used to stop the program, there could be nothing after the block. Because of this there is a peculiarity when the stop block is used with a loop or a Switch Block - we should put a parallel thread and connect it with the block.

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 4 - Yacht
Introduction
Let's imagine we are billionaires. Every self respected billionaire must have a yacht . A robot yacht is exactly what we would now build.
The modern yachts are custom build for a luxury life. They could have a bathroom, bedroom with a nice view, living room, kitchen and even a room for play.
What would you like to have on the board of your yacht? Why?
All of this of course has a price. If we are slightly less rich billionaires we would take a yacht starting at about $200,000. And the price could go up indefinitely. There is a rumor that the most expensive yacht is for over $4,000,000,000 dollars. It was made with more than 100,000 tons of gold and platinum - two of the most expensive materials on earth. There are walls made from real tyrannosaur rex bones and diamonds each costing 45 million dollars. Luckily, we are also billionaires and we could afford all of this. We would leave up to you to decide if you need a wall full of tyrannosaur Rex bones.
- 4
- 5
- 8
- 3d_rotation 1

Robotics with LEGO - Level 2.5 - Maritime Journey
The fourth level of the Robotics with LEGO curriculum for students from fifth to twelfth grades.
In this level students focus on the rotational sensor that is part of every motor in the robotics set. Students also learn to use the fourth sensor in the robotics set - the gyro sensor.
First few robot constructions imitate sea-animals and their behavior. Students create programs that check whether the robot's claws or pecks have successfully caught an object. That sensor in the motors allows the robots to go back in their lairs even after the use of unlimited movement. The rest of 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.
- 42
- 3:52
- 133

Additional tasks for the yacht robot
Taking so many decisions makes our robot be really inefficient.
- 2
- 2
- 2
- 3d_rotation 0