

Teacher's Note: Ambushing Scorpion task
We start by waiting to detect an object with the ultrasonic sensor and the wait block. This is not that important for the lesson but adds to the ambush-thing. Then, we program the motor to move for half a second as it works faster that way, although we can achieve the same result with more seconds as well. Finally, we check whether the motor has turned less than 160 degrees in order to detect the grabbing action. You can also tell your students to never use = in logical operations as sensors are not very accurate and sometimes they skip values. Be careful with the switch port!
The first task allows for choosing a claw which means the settings for the second block can be replaced with these for a medium motor.
Here are the programs for this robot: https://www.fllcasts.com/programs/tvznid-program-for-the-ev3-scorpion-robot-antares
- #1133
- 22 Jan 2019