Now we have to program our robot to defend itself. The task will be the robot to monitor the perimeter and if there is an intruder to shoot a ping-pong ball.
To access the full video please subscribe to FLLCasts.com
- #866
- 30 Mar 2018
The end behavior of the robot should be as follows:
- If there is an object in front of it and less than 40 cm away, the robot shoots a ball;
- If there is none, the robot turns to the left; If there is an object less than 40 cm away, the robot shoots a ball;
- If there is none, the robot turns to the right; If there is an object less than 40 cm away, the robot shoots a ball;
The three evaluations above should be repeated in a loop. In the next section, the task is split into multiple smaller tasks.
Courses and lessons with this Tutorial
This Tutorial is used in the following courses and lessons
Level B2. "Military Technologies". Robotics with LEGO
The firfth level of the Robotics with LEGO curriculum for students in second, third or fourth grades.
The students build many robots with chain-treads. The Color Sensor is introduced and robots use it to recognize the colors of the objects around them. Students learn about gears, basic gear constructions, and their application. Robots now can stop on a black line and can follow a line using their sensor.
- 37
- 6:37
- 111
Lesson 5 - Shooting Balls
Returning feedback to students is important. We try to return feedback constantly in the classes. You should also try to return feedback in a structured way - in a form of a digit. Today you will have to grade your students following this article.
- 5
- 3
- 10
- 3d_rotation 1