Skip to main content

Lesson 5: Disk Mover Challenge Steps

In this challenge, create a project where the VR Robot uses the Electromagnet to pick up and drop nine disks: three blue, three red, and three green disks into the matching colored goals.

A perspective view of the Disk Mover Playground at the start, with dotted arrows indicating the path of the robot from the blue goal to collect all of the disks and drop them in the matching colored goals.

Solving the Disk Mover Challenge requires the VR Robot to complete repetitive actions. This project will need to use nested loops and the Electromagnet, along with commands from the Drivetrain, Sensing, and Control categories to solve this challenge. Once all nine disks are in the proper goals, the challenge is complete.

  • Note: the solution may have the VR Robot run into the wall beside the green goal. In future courses, variables will be introduced to prevent this behavior. For now, this is okay! The challenge is complete when all 9 disks are moved into the proper goals.

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. In the video clip below, the VR Robot drives forward to pick up the nearest blue disk with the Electromagnet, then turns around and drives to drop it in the blue goal. This is repeated for the remaining two disks. The VR Robot then turns right and drives to the red goal area. It then turns left and repeats the process of driving to pick up and drop each of the three red disks in the red goal. The robot turns right and moves to the green goal area, turning left and driving to pick up and drop the three green disks in the green goal.

  • Create a new project or load a project from previous Lessons in this Unit. If creating a new project, select the Disk Mover Playground when prompted.
  • Rename the project Unit8Challenge.
  • Open the Playground Window if it is not already open. Be sure the Disk Mover Playground opens.
  • Add the commands necessary to navigate the VR Robot from the start to pick up all disks and place them in the correct goal. The VR Robot should return back to the starting position to complete the challenge.
  • 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 completes the Disk Mover Challenge.
  • Save the project once the VR Robot successfully moves all disks to the corresponding goals and returns to start.

Congratulations! You have successfully completed the Disk Maze Challenge!

Questions

Please select a link below to access the lesson quiz.

Google Doc / .docx / .pdf