Skip to main content

Computer Science Level 1 - Python

Unit 5 - Detecting Walls from a Distance

Introduction

In the Wall Maze Challenge, you will use VEXcode VR Python to navigate the VR Robot through the Wall Maze Playground from start to finish. You will learn how to use the Distance Sensor and conditional operators to solve the Wall Maze challenge.

The Wall Maze Problem 

In the previous Unit, you navigated through the Wall Maze by driving until the VR Robot touched the wall and pressed the Bumper Sensor. However, what if you wanted to navigate the maze without touching the wall? Luckily, there are tools on the VR Robot, and in our code to help us solve the wall maze problem without bumping into the walls. You will learn about those tools in this Unit, beginning with the Distance Sensor in the next Lesson.