Running the Driver Control Program - IQ Brain (2nd gen)

Using VEX IQ (1st generation)? See this article.

The Drive program is a default program built into the VEX IQ Robot Brain so it can be used with Smart Motors, Bumper Switches, and the VEX IQ Controller without programming. The Drive program maps the Controller’s joysticks and buttons to control specific Smart Ports on the Brain.

Learn about using the Driver Control program on the Brain.

Step 1: Check that the Smart Ports are properly wired.

2nd.gen.brain.top_side.pngiq-gen2-controller.png

Smart Port Number Device Type Functionality
1 Smart Motor Turns using Joystick A
2 Bumper Switch Stops R Down button from turning Smart Motor in Port 4
3 Bumper Switch Stops R Up button from turning Smart Motor in Port 4
4 Smart Motor Turns using R buttons
5 Smart Motor Turns using F buttons
6 Smart Motor Turns using Joystick D
7 Smart Motor Turns using Joystick A
8 Bumper Switch Stops L Down button from turning Smart Motor in Port 10
9 Bumper Switch Stops L Up button from turning Smart Motor in Port 10
10 Smart Motor Turns using L buttons
11 Smart Motor Turns using E buttons
12 Smart Motor Turns using Joystick D
  • Check that Smart Ports 1-12 have the correct types of devices listed in the table above. Note that not ALL devices in all 12 ports have to be connected in order for this program to run. The above is an example list of which devices could be used in which ports. 
  • Check that the Controller is wirelessly connected.

NOTE: To review how to connect devices to Smart Ports properly, see this article

Step 2: Find and Run the Drive program

There is a program already built into the Brain that allows you to drive the BaseBot using the Controller without having to write any code. Follow the steps below to learn how to run the Driver Control program on the Brain.

Brain-Drive_callout.png

Press the checkmark to select the highlighted Drive program.

Brain-Run_callout.png

Press the checkmark again to run the program.

Brain-Drive_Run_callout_0.png

As the program is running, the Brain's screen will look like this image.

To stop the program, select the x button.

Controller Configurations

There are four different configurations of the Driver Control program on the Brain: Left Arcade, Right Arcade, Split Arcade, and Tank drive. Follow the steps below to learn what each of the four configurations are and how to select them on the Brain.

Brain-Drive_callout.png

Press the checkmark to select the highlighted Drive program.

Brain-Controls_left_arrows_callout.png

Use the arrows to highlight the "Controls" option.

Brain-Controls_checkmark_callout.png

Press the checkmark to select the highlighted Controls option.

Toggle through the four different drive options by pressing the checkmark.

Each of the four driver control options allows you to control the BaseBot using the joysticks in different ways.

Configuration Description Joystick Controls
Left_Arcade.png

Left Arcade

Drive the BaseBot forward, reverse, left, and right all using the left joystick.

IQ_Controller_-_Arcade_Left.png
Right_Arcade.png

Right Arcade

Drive the BaseBot forward, reverse, left, and right all using the right joystick.

IQ_Controller_-_Arcade_Right.png
Split_Arcade.png

Split Arcade

Drive the BaseBot left and right using the left joystick, and forward and reverse using the right joystick.

IQ_Controller_-_Arcade_Split.png
Tank_Drive.png

Tank Drive

Drive the left motor of the BaseBot using the left joystick, and the right motor of the BaseBot using the right joystick.

IQ_Controller_-_Tank_Control.png

Customizing Driver Control

Change_Motor_Movements.png

To further customize the Driver Control program you can use the ‘Controls’ window to:

  • Change the direction of the motor movement for each set of buttons by reversing the direction from ‘Forward’ to ‘Reverse’, as shown in these images.

Button_Control_Motors.png

Change which buttons are used to control which motors:

  • Change which port the motor is physically plugged into on the Brain
  • Look at the ‘Controls’ window to check that your motor is connected the desired buttons
  • A connected port will show a green icon (as port 5 shows in the image to the right), while a disconnected port will show a white icon (as ports 4 and 11 show in this image).

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: