Skip to main content

Remix Challenges - Part 1

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.

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?