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

The VEX Visual Studio Code Extension has replaced VEXcode Pro V5, which is now end-of-life.

VEXcode Blocks and VEXcode Text remain actively developed and supported for all VEX platforms.

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. 

In this article, the default values in the Drivetrain Settings are for the VEX V5 Clawbot.


Adding a Drivetrain

Screenshot of the Robot Configuration window in VEX V5 software, displaying various settings and options for configuring a robot's components and behavior.

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.

Screenshot of the VEX V5 Robot Configuration interface showing the 'Add Device' option, illustrating the process of adding devices to a robot setup in the VEX Robotics system.

Select “Add a device.”

Diagram illustrating a VEX V5 robot drivetrain configuration with four motors, showcasing the layout and connections for optimal performance in robotics applications.

Select “Drivetrain 4-Motor.”

Screenshot of the VEX V5 Robot Configuration interface, displaying options for selecting ports for various components in the setup process.

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

Screenshot of the VEX V5 Robot Configuration device options, displaying various settings and selections for configuring robot devices in the VEX Robotics system.

Select "No Gyro" to turn the Gyro off.

Screenshot of robot drivetrain settings configuration in VEX V5, displaying various parameters and options for adjusting robot movement and performance.

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.


Changing a Drivetrain’s Port Numbers

Screenshot of robot drivetrain settings with port numbers for V5 configuration, illustrating the various settings and options available for optimizing robot performance.

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

Screenshot of VEX V5 robot configuration settings showing drivetrain port numbers and settings, illustrating the setup process for optimizing robot performance in the V5 robotics system.

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 showing the wheel size configuration for VEX V5 robot drivetrain, illustrating various wheel size options and their impact on robot performance in the Robot Config section.

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


Changing a Drivetrain’s Track Width

Diagram showing the track width configuration for VEX V5 robots, illustrating the measurement and alignment of wheels for optimal performance in robot design.

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 a Drivetrain’s Wheelbase

Diagram of a VEX V5 robot drivetrain wheelbase configuration, illustrating the arrangement of wheels and structural components for optimal performance in robotics applications.

You can change the size of 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 front and rear axles.


Changing a Drivetrain’s Gear Ratio

Diagram illustrating the drivetrain gear ratio for VEX V5 robots, showing various gear configurations and their corresponding ratios to optimize robot performance.

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


Reversing a Drivetrain

Diagram illustrating the reverse configuration of a V5 robot drivetrain, showing motor placements and wiring connections for optimal performance in reverse operation.

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


Deleting a Drivetrain

Screenshot of the VEX V5 Robot Configuration interface showing the drivetrain settings with an option to delete selected configurations.

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


Changing a Gear Cartridge

Diagram of a VEX V5 robot drivetrain gear cartridge, illustrating the components and configuration for optimal robot performance in the Robot Config section.

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: