2-Motor Drivetrain (No Gyro) - Robot Config - 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

Here are the different options when configuring a Drivetrain without a Gyro:

  • Adding a Drivetrain
  • Changing a Drivetrain’s Port Numbers
  • Changing a Drivetrain’s Wheel Size
  • Changing a Drivetrain’s Track Width
  • Changing a Drivetrain’s Gear Ratio
  • Reversing a Drivetrain
  • Deleting a Drivetrain
  • Changing a Gear Cartridge 

Adding a Drivetrain

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.

file-0BbnuX6XwG.png

Select “Add a device.”

file-4Zb1DiFTc1.png

Select “Drivetrain.”

file-dr9KdOXi4S.png

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.

file-ndkCYizd9G.png

Select "No Gyro" to turn the Gyro off.

file-UM4aq2Nb6T.png

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.

file-RBlIjvzP8t.png

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

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.

file-pxia0jG8OT.png

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

file-iuprGvN0jY.png


Changing a Drivetrain’s Wheel Size

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

file-ysOmfwsMiY.png

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

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.

file-UQIq7Elh8Y.png

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

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

file-v44OVKmVP1.png

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

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

file-PqVZVXUIxt.png


Deleting a Drivetrain

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

file-KtNbXLt0qi.png


Changing a Gear Cartridge

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

file-yS6PJcbyBk.png