Configuring a 2-Motor Drivetrain (No Gyro) in VEXcode IQ (1st gen)

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

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

You can only configure one Drivetrain per project.

This article covers the following options when configuring a Drivetrain 2- Motor without a Gyro:


Adding a Drivetrain

select_devices_icon.update.png

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


VEXcode_IQ_-_dev_6QwLpuyG4p.png

Select the generation that you are working with.

VEXcode_IQ_-_dev_v9vZZ2q9LM.png

Select “Add a device.”

VEXcode_IQ_-_dev_J0rIorJa5V.png

Select 'Drivetrain 2-Motors".

drivetrain_motors_port_1_and_6_selected.png

Select which port the Left Motor and Right Motor is attached to on the VEX IQ Brain. Ports that are already configured for other devices will be unavailable.

VEXcode_IQ_-_dev_xR4OLR8XwG.png

Turn the Gyro off by un-checking the Gyro box.

VEXcode_IQ_-_dev_xdgQfeqDFl.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_drivetrain_port_numbers.png

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

drivetrain_left_motor_and_right_motor_selection02.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

VEXcode_IQ_-_dev_t0Txbt88ax.png

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


Changing a Drivetrain’s Track Width

set_track_width.png

You can change the size of the track width for the Drivetrain by entering the values in the number box and by selecting the drop-down menu under “Track Width.” The track width is the measurement between the middle of the front left wheel to the middle of the front right wheel.


Changing the Drivetrain's Wheel Base

set_wheelbase.png

You can change the wheelbase for the Drivetrain by entering the values in the number box and by selecting the drop-down menu under “Wheelbase.” The wheelbase is the measurement between the middle of the front wheel to the middle of the back wheel on each side.


Changing a Drivetrain’s Gear Ratio

VEXcode_IQ_-_dev_qtWltm8GHK.png

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


Reversing a Drivetrain

VEXcode_IQ_-_dev_xCvMByixam.png

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


Deleting a Drivetrain

VEXcode_IQ_-_dev_OhZKXohXtX.png

A Drivetrain can be deleted by selecting the 'Delete' option at the bottom of the screen.