Defend position Pro Preview

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

Subscribe

  • #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

Image for Level B2. "Military Technologies". Robotics with LEGO
  • 37
  • 6:37
  • 111
Image for Lesson 5 - Shooting Balls
  • 5
  • 3
  • 10
  • 3d_rotation 1