Skip to main content

Autopilot is ready to turn!

This exploration will give you the tools to be able to start creating some cool projects for your Autopilot to follow.

  • VEXcode IQ that will be used in this exploration:

VEXcode IQ Turn for block with the parameters set to right for 90 degrees.

  • To find out more information about this block, open  Help and then select the [Turn for] block.

Help in VEXcode open to show the Help information for the Turn for block. The Help icon in the toolbar is highlighted, illustrating what to select to view the Help for a block.

  • The Builder in each group should get the hardware required. The Recorder should get the group’s engineering notebook. The Programmer should open VEXcode IQ.
Materials Required:
Quantity Materials Needed
1

Autopilot Robot

1

Charged Robot Battery

1

VEXcode IQ

1

Engineering Notebook

1

USB Cable (if using a computer)

Step 1: Preparing for the Exploration

Before you begin the activity, do you have each of these items ready? The Builder should check each of the following:

  • Are all the motors and sensors plugged into the correct port?
  • Are the smart cables fully inserted into all of the motors and sensors?
  • Is the Brain turned on?
  • Is the battery charged?

Check out the troubleshooting tutorial if Autopilot does not pass any of these steps.

VEXcode IQ Toolbar with the Tutorials icon called out with a red arrow, to the right of the File menu.

Step 2: Start a New Project

Before you begin your project, the Programmer needs to select the correct template project. The Autopilot (Drivetrain) template contains the Autopilot motors and sensors configuration. If the template is not used, your robot will not run the project correctly.

VEXcode IQ Toolbar with the File menu open, and Open Examples highlighted with a red arrow. 'Open Examples' is the fourth item in the menu.

The Programmer should complete the following steps:

  • Open the File menu.
  • Select Open Examples.
  • Use the filter bar at the top of the application and select "Templates."

    Example project selection window with the Template projects showing.

  • Select and open the Autopilot (Drivetrain) Template.

    Autopilot (Drivetrain) icon illustrating which template to select for this activity.

  • Since we will be using the [Turn for] block, rename your project Turn.
  • Save your project.

Project name dialog box in the Toolbar of VEXcode IQ. Slot 1 is selected and the project name reads Turn.

  • Check to make sure the project name Turn is now in the window in the center of the toolbar.