Configuring Color Codes in VEXcode AIM

A Color Code is a combination of 2 to 4 previously configured Color Signatures that the AI Vision Sensor can identify. To be able to create Color Codes, you must first have 2 or more configured Color Signatures. Read Configuring Color Signatures in VEXcode AIM to learn how to configure a Color Signature.

Follow the steps below to learn how to configure Color Codes in the AI Vision Utility.

AI Vision Utility in VEXcode AIM. The left shows the camera feed from the robot with one blue cube and one red cube. The right has a highlight on the Add Color Code button.

Set your desired Color Signatures in the configuration window.

The Add Color Code button will become available once 2 or more Color Signatures have been configured. Select Add Color Code.

Same image as before with a new section beneath the color signatures on the right that is highlighted. This section shows a color code named Color 1 with red box on the left and blue box on the right.

By default, the first two configured Color Signatures will be set in the new Color Code.

To change what Color Signatures are included inside of a Color Code, select the Color Signature(s) inside the Color Code that you would like to change.

Zoomed in view of the new color code with a highlight on the name text box.

Rename the Color Code by selecting into the Name textbox and typing.

View of the video feed from the robot with the red and blue box close together and a box around them both indicating the color code is identified. green check mark
View of the video feed from the robot with the red and blue box further apart and boxes around the individually to show color signatures are identified. red x

Ensure that the colors are closely aligned; otherwise, they may not be interpreted as a unified Color Code but rather as distinct Color Signatures.

Zoomed in view of the new color code with a highlight on the Add Color Code button beneath the code.

Additional Color Codes can be added by selecting Add Color Code.

Note: If a Color Signature is currently utilized within a Color Code, you won't be able to remove it until it is no longer part of any existing Color Code.

AI Vision Utility in VEXcode AIM with a highlight on the close button in the bottom right corner.

Once all desired Color Codes have been set, select Close.

Zoomed in view of the Control Panel in VEXcode AIM with a highlight around the Color Codes section. Within is a row that matches the color code configured.

All configured Color Codes will now appear in the AIM Control Panel.

 

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

Last Updated: