Configuring a 2-Motor Drivetrain (No Gyro) in VEXcode Pro V5

When starting to program with VEXcode Pro V5, Drive and Turn commands will not appear in the Command Reference until a Drivetrain has been configured.

You can only configure one Drivetrain per project.

If you are configuring a Drivetrain with a Gyro Sensor, click here


Adding a Drivetrain

Diagram illustrating the robot configuration for V5 category, showing various components and their connections, including motors, sensors, and structural elements.

To configure a Drivetrain, select the Robot Configuration button to open the Robot Configuration window. A project must be open in order to use the Robot Configuration window.

Diagram illustrating the robot configuration for V5 Category, showing various components and their arrangement for optimal performance in robotics applications.

Select “Add a device.”

Diagram illustrating the configuration of a V5 robot, showcasing various components and their arrangement for optimal performance in robotics applications.

Select “Drivetrain.”

Diagram illustrating the robot configuration for V5, showcasing various components and their arrangement within the system, relevant to the V5 Category Description section.

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

Diagram illustrating the robot configuration for V5, showing key components and their arrangement within the system.

Select "No Gyro" to turn the Gyro off.

Diagram illustrating the robot configuration for V5 category, showcasing various components and their arrangement within the robot system.

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

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

Note: If you are not configuring the Drivetrain for a VEX V5 Clawbot or Speedbot, see the additional options below.


Changing a Drivetrain’s Port Numbers

Diagram illustrating the configuration of a V5 robot, showcasing various components and their connections, relevant to the V5 Category Description in the Robot Config section.

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 Drivetrain Settings window.

Diagram illustrating the configuration of a V5 robot, showcasing various components and their arrangement for optimal performance in robotics applications.

Select a different port on the Port Selection window and the port number will turn blue. Then select "Done" to submit the change.


Changing a Drivetrain’s Wheel Size

Diagram illustrating the robot configuration for V5, showcasing various components and their connections, relevant to the V5 Category Description.

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

Note: The default values are for the VEX V5 Clawbot and Speedbot. If you are using the Clawbot or Speedbot, you do not need to change the values.


Changing a Drivetrain’s Track Width

Diagram illustrating the configuration of a V5 robot, featuring labeled components such as motors, sensors, and structural elements, to assist in understanding the robot's setup and functionality.

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.

Note: The default values are for the VEX V5 Clawbot and Speedbot. If you are using the Clawbot or Speedbot, you do not need to change the values.


Changing a Drivetrain’s Gear Ratio

Diagram illustrating the configuration of a V5 robot, showcasing key components and their arrangement for optimal performance in robotics applications.

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

Note: The default values are for the VEX V5 Clawbot and Speedbot. If you are using the Clawbot or Speedbot, you do not need to change the values.


Reversing a Drivetrain

Diagram illustrating the configuration of a V5 robot, showcasing various components and their arrangement within the robot's structure, relevant to the V5 Category Description.

The Drivetrain Settings window also allows the direction of the Drivetrain to be reversed.


Deleting a Drivetrain

Diagram illustrating the robot configuration for V5 Category, showcasing various components and their arrangement within the system.

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


Changing a Gear Cartridge

Diagram illustrating the robot configuration for V5 Category Description, showcasing various components and their arrangement in a VEX Robotics system.

The Drivetrain Settings window also allows the gear cartridge to be changed.

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

Last Updated: