Configuring a 4-Motor Drivetrain in VEXcode IQ (1st gen)

Using VEX IQ (2nd generation)? See this article.

When starting to program with VEXcode IQ, blocks from the Drivetrain category will not appear in the Toolbox until a Drivetrain has been configured.

You can only configure one Drivetrain per project. 

If you are configuring a Drivetrain without a Gyro Sensor, see this article

Here are the different options when configuring a 4-Motor Drivetrain with a Gyro:


Adding a Drivetrain

select_the_devices_window_icon.png

To configure a Drivetrain, select the Devices icon to open the Devices window.

Screen_Shot_2021-09-15_at_5.48.41_PM.png

Select the generation that you are working with.

Add_a_device_1st_gen.png

Select “Add a device.”

select_drivetrain_4_motor.png

Select "Drivetrain 4-Motor."

Note: To configure a 2-Motor Drivetrain, see this article.

Select_motors_1st_gen.png

Select which ports the Left Motors, Right Motors, and the Gyro Sensor are attached to on the VEX IQ Brain. Ports that are already configured for other devices will be unavailable.

Select_done_1st_gen.png

Once the Drivetrain has been configured, select “Done” to submit the device to the configuration or “Cancel” to return back to the Devices menu.

Note: Selecting “Cancel” will undo any changes you have made to the device and will not be a part of the configuration.


Changing a Drivetrain’s Port Numbers

change_4motor_port_numbers_1st_gen.png

You can change the port numbers for the Left Motors, Right Motors or Gyro in the Drivetrain by selecting the device’s plug icon in the top right corner of the Options screen.

Change_ports_4motor_1st_gen.png

Select a different port on the Port Selection screen and the port number will turn green. Then select Done to submit the change.


Changing a Drivetrain’s Wheel Size

4motor_wheelsize_1st_gen.png

You can change the wheel size for the Drivetrain by selecting the drop down menu under “Wheel Size.”


Changing a Drivetrain’s Gear Ratio

4motor_gear_ratio_1st_gen.png

You can change the gear ratio for the Drivetrain by entering values in the “Input” and “Output” boxes.


Reversing a Drivetrain

Reverse_drivetrain_4motor_1st_gen.png

The Options screen also allows the direction of the Drivetrain to be reversed.


Deleting a Drivetrain

4motor_delete_1st_gen.png

A Drivetrain can also be deleted by selecting the “Delete” option at the bottom of the screen.