In this lesson we are going to focus on the yellow palette of blocks and see how the rotation sensor reset blocks functions.

To access the full video please subscribe to FLLCasts.com
- #1166
- 22 Mar 2019
As you probably know, the yellow blocks are used mainly for measurement and calculations based on these measurements. They do not prevent the flow of the program, do not take time for performance as the wait block or some sensors, or the sound and movement sensors. The program should wait for the robot to perform the green or orange blocks in order to continue. Nevertheless, the program goes through the yellow blocks in just part of the second which is why the flow of the program is not interrupted.
Each sensor has a yellow block which we will focus on in the next lessons. Now we will focus on just one of the options of the yellow block, namely Reset. That is how the block looks like:
You already know that every motor starts at 0 degrees at the beginning of the program. Then, we can perform many unpredictable maneuvers, depending on the robot; the robot may get hit, etc. To start the check all over again, we need to start from 0 which is why we use the Reset block. The block has one setting only and this is which motor should be reset. If two or more motors should be reset, 2 or more reset blocks should be used one after the other.
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons

Level D1. "Animals". Robotics with LEGO
This is the seventh level of the Robotics with LEGO curriculum for students in third or fourth grade.
In this level students focus on the rotational sensor that is part of every motor in the robotics set.
Robot constructions imitate 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.
- 23
- 0:00
- 102

Robotics with LEGO - Level 3.5 - Measuring tools
The sixth level of the Robotics with LEGO curriculum for students in sixth or seventh grade.
In this level, we introduce student-created myBlocks. Any functionality that is used in several places in a program is grouped into myBlock thus shortening the program's length. Students create blocks that return the result of calculations as an output parameter. Input parameters can change the calculations in the myBlocks. The robot constructions measure physical properties like linear or rotational speed, the fuel level in a tank, or length, area and volume.
- 58
- 0:00
- 185

Measure Line Width
In this lesson we are going to focus on the yellow palette of blocks and see how the rotation sensor reset blocks functions.
- 1
- 1
- 4
- 3d_rotation 0

Robotics with LEGO - Level 3.5 - Measuring tools
The sixth level of the Robotics with LEGO curriculum for students in sixth or seventh grade.
In this level, we introduce student-created myBlocks. Any functionality that is used in several places in a program is grouped into myBlock thus shortening the program's length. Students create blocks that return the result of calculations as an output parameter. Input parameters can change the calculations in the myBlocks. The robot constructions measure physical properties like linear or rotational speed, the fuel level in a tank, or length, area and volume.
- 58
- 0:00
- 185