- :-

Topics Covered

  • Switch Loops
  • Obstacle Detection
  • Lesson Links

    Check Your Understanding:
    1. 1. Instead of thinking about the four-rotation Obstacle Detection as one big movement, the video suggests thinking about it as...
    2. Using a brand new type of Wait Block that allows multiple sensor checking
      Downloading the program into the robot and using built-in options to run parts of the program at certain times
      A long series of tiny movements that add up for four rotations
      All of the above are valid suggestions
    3. 2. How do repeated decisions allow the robot to watch both sensors at once?
    4. The program resets and restarts at the beginning everytime the readings of any sensor changes
      The robot calculates the path with both sensors at first and runs algorithms for the best way to run the course
      The robot activates a specific sensor at certain times throughout the course
      Every operation is fast, and does not block other commands from running
    5. 3. In the final version of the program, the robot ends up processing the Switch inside the Loop...
    6. Only once, ever, because it's a Switch
      Four times because the Loop goes for four rotations
      Thousands of times, because the robot processes the loop very quickly and encounters the Switch many times