Skip to main content

Lesson 4: Wall Maze Challenge

In previous Lessons within this Unit, you have learned how to use the Distance Sensor to navigate to certain areas in the Wall Maze Playground. In the previous Unit, you solved the Wall Maze Challenge using the Bumper Sensors. Now, you will combine all of these concepts to create a project to solve the Wall Maze Challenge from start to finish again, but this time with the Distance Sensor!

Unit 5 Challenge

Learning Outcome

  • Apply blocks from the Drivetrain, Sensing, and Control categories in the correct sequence in order to successfully navigate the Wall Maze using the Distance Sensor.

Putting It All Together

In the previous Unit, you solved the Wall Maze using the Bumper Sensor. In this Unit, you will solve the same Wall Maze, but instead use the Distance Sensor. The Wall Maze Challenge can be solved using either sensor, but there are advantages to each.

Advantages of Each Sensor

Bumper Sensor

  • Detects if the sensor is touching an object.
  • Reports as either pressed or released.
  • Used with Boolean blocks.
  • Two Bumper Sensors are available.

Distance Sensor

  • Detect objects and surfaces far away, without the need to touch them.
  • Detects if an object is present as well as how far away that object is.
  • Reports a range of distance values.
  • Can use a comparison block to make a more specific condition.
  • Used with both Boolean and Numeric Reporter blocks.
  • Only detects in one direction.

Wall Maze Challenge

In this challenge, create a project where the VR Robot navigates the Wall Maze Playground from start to finish using the Distance Sensor.

Unit 5 Challenge

Follow these steps to complete the challenge:

  • Watch the solution video to see how the VR Robot should drive in order to complete the challenge.

  • Create a new project or load a project from previous Lessons in this Unit.
  • Rename the project Unit5Challenge.
  • Launch the Playground window.
  • Load the Wall Maze Playground.
  • Add the blocks necessary to navigate the VR Robot from the start to the finish of the Wall Maze.
  • Start the project to test if it works.
  • If the project is not successful, edit and try again. Continue to revise and run the project until the VR Robot successfully drives from start to finish.
  • Save the project once the VR Robot successfully drives to the finish.

Congratulations! You have successfully completed the Wall Maze Challenge!

Questions

Please select the link below to access the lesson quiz.

Open Lesson Quiz   >