

Switch block tree
When we use one switch block, we allow the program to make a decision in accordance with the condition we have set. But what should we do if several conditions have to be met?
- #1177
- 29 Mar 2019
When we use one switch block, we allow the program to make a decision in accordance with the condition we have set. But what should we do if several conditions have to be met?
There are some things to be careful about when your students work with the brick.
The block has the following parameters from left to right:
Attention! This block is made only for robots with two driving large motors on ports B and C and one steering medium motor on port A!
Detailed explanation of how to use this myBlock is written in the tutorial How to use the CarControl MyBlock.
Program for activating the active attachment using in FIRST LEGO League.
We've detected the gap. It's time to move over it. This is difficult because we have to detect where the line is after the 0.1 meters gap on the line following field.
The important task before the solution. If you haven't done it already, then attach a new axle at the front of the robot and extend the construction with gear wheels and axles to reach the two legs at the two sides of the robot.
Introducing three main concepts - Energy, Inertia Moment and Angular Velocity. We describe what is the moment of Inertia, how do we calculate it and how do we measure it?