Skip to main content
Teacher Portal

Teacher Tips icon Teacher Tips

The students can refer to the tutorials if they run into any problems creating, renaming, and saving a program. Walk around and monitor the students to ensure they complete all the steps.

Project name dialog box in the VEXcode IQ Toolbar. Slot 1 is showing, and the project name reads "Turn Remix Box".

The Programmer should complete the following steps:

  • Open the File menu.
  • Select Open Examples.
  • Select and open the Autopilot (Drivetrain) Template.
  • Name your project Turn Remix Box.
  • Save your project.

Side view of the VEX IQ Autopilot with an arrow facing away from the robot indicating motion.

Let’s Get Moving!

Activity A: Drive around a box!

The goal of this activity is to program the Autopilot to drive around a box. This task will require multiple steps, so remember to think like a robot!

You will need to use two blocks to create this project: the [Turn for] and [Drive for] blocks.

VEXcode IQ Turn for block. The parameters are set to turn right for 90 degrees.

VEXcode IQ Drive for block with the parameters set to drive forward for 1 inch.

Teacher Toolbox icon Teacher Toolbox - Understanding the Blocks

If the student wants to move a specific distance, they can use the drive for block.

Drive for block in VEXcode IQ set to forward for 1 inch.

For more information about the blocks used, click here. (Google / .docx / .pdf)

Here are some steps to guide your team:

  • Builder, place the box and Autopilot next to each other on the floor, making sure to give the Autopilot space to move. Use the ruler to measure the distance the Autopilot will need to move, in inches.
    • Tip: Make sure to measure further than the exact side of the box to give Autopilot room to turn!
  • Recorder, draw a diagram of the box and list the measurements the Builder gives on each side of the box. Confirm with your team that the measurements are correct.
  • Driver, list the steps the Autopilot will need to drive in order to get around the box. Include the drive and turn steps!
  • Recorder, write the steps the Driver lists in the engineering notebook.
  • Programmer, use the diagram and steps from the engineering notebook to program the new project. Add the turn for and drive for blocks in the correct order. Then change the distances included in the drive for blocks to those recorded in the engineering notebook.
    • Tip: Make sure turn for block is set to turn the correct direction!
    • Your project may begin to look something like this:

      VEXcode IQ project beginning with a When started block. A drive for block is attached with parameters set to drive forward for 12 inches, followed by a Turn for block with parameters set to turn left for 90 degrees.

  • Programmerdownload the project when finished.
  • Driverrun the project on the Autopilot.

Congratulations! You programmed a more complex task using simple behaviors.

Now, did the Autopilot move around the box as you expected? If not, why do you think that is? What changes do you think you could make?

Teacher Tips icon Teacher Tips

  • Use the duplicate option to repeat a set of blocks without having to drag them one by one. To learn more about how to duplicate, click here (Google / .docx / .pdf) .

  • Use the repeat block to repeat a drive forward and turn group of blocks. To learn more about how to use the repeat block, click here. (Google / .docx / .pdf)

Teacher Toolbox icon Teacher Toolbox - Solutions

  • For an example solution of Activity A, click here. (Google / .docx / .pdf)

Teacher Toolbox icon Teacher Toolbox - Stop and Discuss

Stop and discuss challenges that students faced during Activity A. Click here (Google / .docx / .pdf) for recommended prompts for discussion.

Motivate Discussion icon Motivate Discussion - Perimeter

Q: What was the perimeter of your box? The perimeter of an object is calculated by adding up the length(s) all of the sides.
A: Students will answer based on the size of their box.

Q: What was the perimeter of the Autopilot’s route around the box?
A: Students will answer based on the measurements they used for their program.

Q: Why are these two perimeters different?
A: The Autopilot will need extra space to move past each side of the box to make its turn. Therefore, the Autopilot will create a larger perimeter than the box perimeter itself.