Skip to main content

Lesson 3: Driving to a set of Coordinates (Y axis)

In this Lesson, you will create a project using the Location Sensor to navigate VR Robot to the number ‘31’ on the Number Grid Map Playground. In the mini challenge, you will apply these skills to drive the VR Robot to the number ‘81,’ and then turn around and stop on number ‘41’ on the Number Grid Map Playground!

Top down of the number grid playground. The VR Robot can be seen in the bottom left corner on the number 1. A callout box is on the number 31 in the leftmost column of the Playground.

Learning Outcomes

  • Identify how to create a project that has a VR Robot drive along the Y axis while the value of the Location Sensor is less than a threshold value.
  • Identify how to create a project that has a VR Robot drive along the Y axis while the value of the Location Sensor is greater than a threshold value.
  • Identify the X,Y coordinates of numbers on the Number Grid Map Playground.
  • Identify that comments allow users to write information to help describe their project.
  • Identify how to add comments to a project.
  • Describe why and how comments should be used in a project.

Name and Save the Project

  • Start a new text project and select the Number Grid Map Playground when prompted.

     Number Grid map Tile in VEXcode VR. a side view of the playground can be seen with a VR robot icon in the top right corner. Beneath that icon is a silver VR logo and gold VR logo. At the bottom is the title 'Number Grid Map.'

  • Name the project Unit6Lesson3.
    VEXcode VR Toolbar with a callout box on the Project name. The project name reads 'Unit 6 Lesson 3'.

Select the Next button to continue with the rest of this Lesson.