Configuring Your Robot in VEXcode Pro V5

What does Configuration Mean?

Before starting a VEXcode Pro V5 program, the user must first configure the program to match the V5 Robot's physical structure. The user needs to state how the motors are attached to the build (which ports the motors are plugged into on the V5 Brain.) This allows the program to direct those motors properly to complete the desired actions. 

For more information on configuring your V5 Robot, please refer to the following articles:

How to Open Example Projects- VEXcode Pro V5

How to Configure a Drivetrain-VEXcode Pro V5

VEXcode Pro V5 Syntax and Robot Configuration

To help understand VEXcode Pro V5 syntax in regards to Robot Configuration, let’s look at a simple project that drives the robot forward.


Configured Devices- The list of devices is written as a comment above the code. A comment is an annotation that can be added to the code by the user to document information that the user will want to reference later. Comments begin with // so that the V5 Robot will recognize and ignore them when it is running a program. Whenever a device is added in the Robot Configuration, it will appear in this list. The list names the device, what type of device it is, and which ports the device is connected to on the Brain. 

For more information about adding a device to the Robot Configuration, please refer to these articles:

How to Configure VEX V5 Smart Motors - VEXcode Pro V5

How to Configure a VEX V5 Controller - VEXcode Pro V5

How to Configure a Drivetrain - VEXcode Pro V5

How to Configure VEX 3-Wire Devices - VEXcode Pro V5

How to Configure a Drivetrain (No Gyro Sensor) - VEXcode Pro V5

Robot Config: Vision Sensor - VEXcode Pro V5

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

Last Updated: