Skip to main content

Lesson 2: Driving to a Set of Coordinates (X axis)

In this Lesson, you will create a project using the Location Sensor to navigate the VR Robot to the number ‘5’ on the Number Grid Map Playground. In the mini challenge, you will apply these skills to navigate the VR Robot to the number ‘8’ and then to the number ‘4’ on the Number Grid Map Playground.

number-grid-map-playground-5

Learning Outcomes

  • Identify how to create a project that has a VR Robot drive along the X axis until the value of the Location Sensor is greater than a threshold value.
  • Identify how to create a project that has a VR Robot drive along the X axis until the value of the Location Sensor is less than a threshold value.
  • Identify the X,Y coordinates of numbers on the Number Grid Map Playground.
  • Assign the correct conditional (greater than or less than) in an operator block when driving the VR Robot to a specific number on the Number Grid Map Playground.

Name and Save the Project

  • Start a new project in VEXcode VR and name the project Unit6Lesson2.
Unit6Lesson2

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