When starting to program with VEXcode V5, Drive and Motor blocks 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, click here.
Adding a Drivetrain
To configure a Drivetrain, select the Devices button to open the Devices window.
Select “Add a device.”
Select “Drivetrain.”
Select which ports the Left Motor, Right Motor, and the Gyro Sensor are attached to on the VEX V5 Brain. Ports that are already configured for other devices will be unavailable.
Note: The Gyro Sensor is connected to a 3-Wire port not a Smart Port.
Once the Drivetrain has been configured, select “Done” to complete 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.
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, Right Motor or Gyro in the Drivetrain by selecting the device’s plug icon in the top right corner of the Options screen.
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
You can change the wheel size for the Drivetrain by selecting the dropdown 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 Gear Ratio
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
The Options screen also allows the direction of the Drivetrain to be reversed.
Deleting a Drivetrain
A Drivetrain can also be deleted by selecting the “Delete” option at the bottom of the screen.
Changing a Gear Cartridge
The Options screen also allows the gear cartridge to be changed.