Skip to main content
Teacher Portal

Teacher Toolbox icon Teacher Toolbox - The Purpose of the Vision Data Challenge

The purpose of the Vision Data Challenge is to ensure that students understand the data collected from the Vision Sensor's snapshot and how center X and Y values are calculated. Your students should also finish this lab with an understanding of how that data might be interpreted (e.g., the center X value can be used to determine where the object is relative to the center point of the robot), and best practices for naming objects when configuring.

Complete the Vision Data Challenge by answering the questions and filling in the missing data in your engineering notebook.

  1. Which of these instructions was used to take the snapshot above?

    1. Image of the take snapshot redbox Python command

    2. image of the take snapshot yellowbox Python command

  2. Fill in these values:

    Image of the Python commands and empty spaces to fill in the values from the Vision Sensor

  3. Is YELLOWBOX to the left or to the right of the robot's center point?

  4. Is YELLOWBOX above or below the robot's center point?

  5. YELLOWBOX is NOT the best name to give this object if you want to easily recognize which color signature is which. Which of these is a better name? Why?

    1. YELLOWGEAR

    2. YELLOWCUBE

Teacher Toolbox icon Teacher Toolbox - Answers

Students' answers can be discussed as a class and/or you can review their engineering notebooks to ensure that they completed the activity successfully.

  1. B.

    image of the snapshot command for yellowbox

  2. Image of the correct values aligned to the commands

  3. YELLOWBOX is slightly to the left of the robot's center point but only by a difference of 16.5 pixels (center 157.5 - 141).

  4. YELLOWBOX is slightly lower than the robot's center point but only by a difference of 5.5 pixels (111 - center 105.5).

  5. A. YELLOWGEAR

    This is a better name because it describes not only the color of the object but also the type of object. It is a gear, not a box or cube.

Extend Your Learning icon Extend Your Learning - Use the Sensing Instructions within a Project

Now that some of the Vision Sensor's reported data is better understood, students might want to use these Sensing Instructions within a project. Allow them to explore doing so.

Image of an example vision sensor project

More advanced students might use these instructions within a project to make decisions.

Image of a vision sensor projects with decision making