After all students finish dumping their resources on the correct points by using the color sensor, take a short break during which discuss the programs they have created. Tell your students that most blocks related to delivering natural gas and transporting gold are the same which means they should not be in the switch block.

To access the full video please subscribe to FLLCasts.com
- #1022
- 20 Aug 2017
The programs students create for solving the last task should look like this:
As you can see, most of the blocks are used in the first case of the switch block as well as in the second one. I.e. blocks will be performed no matter the ball color which means they should not be included in the switch block. Discuss this with your students and make them take all blocks which do not depend on the ball color out of the switch block
At the end you should have a result similar to the following:
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons

Level C2. "Cooperation". Robotics with LEGO
The sixth level of the Robotics with LEGO curriculum for students in third or fourth grade.
For the first time two different robots are required to solve a challenge. Students learn how to cooperate and find a common approach to the challenges and how to distribute their roles. Various robots are built, even a crane that loads a truck. Students use two sensors at the same time so that they find their target and find out whether their partner-robot is ready with their part of the challenge.
- 41
- 6:39
- 137

Lesson 2 - Dumptruck
Introduction
Today we will continue our work with heavy equipment used in the mining industry. We will transport various minerals and we will program the robot to recognize the load it carries and deliver it to the right dump point. What mineral stones do you know?
- 4
- 3
- 5
- 3d_rotation 1