Enums#
Analog Units#
Name |
C++ Enum |
Description |
---|---|---|
Range 8-bit |
|
Encodes the value as an 8-bit integer from 0 to 255. |
Range 10-bit |
|
Encodes the value as a 10-bit integer from 0 to 1023. |
Range 12-bit |
|
Encodes the value as a 12-bit integer from 0 to 4095. |
Millivolts |
|
Measures the value of the analog input in millivolts. |
Axis Types#
Name |
C++ Enum |
Description |
---|---|---|
X-Axis |
|
Sets the command to generate values based on the X-Axis. |
Y-Axis |
|
Sets the command to generate values based on the Y-Axis. |
Z-Axis |
|
Sets the command to generate values based on the Z-Axis. |
Brake Types#
Name |
C++ Enum |
Description |
---|---|---|
Coast |
|
The |
Brake |
|
The |
Hold |
|
The |
Color Types#
Name |
C++ Enum |
Description |
---|---|---|
Black |
|
The predefined color constant for black as the RGB value: (0, 0, 0). |
White |
|
The predefined color constant for white as the RGB value: (255, 255, 255). |
Red |
|
The predefined color constant for red as the RGB value: (255, 0, 0). |
Green |
|
The predefined color constant for green as the RGB value: (0, 255, 0). |
Blue |
|
The predefined color constant for blue as the RGB value: (0, 0, 255). |
Yellow |
|
The predefined color constant for yellow as the RGB value: (255, 255, 0). |
Orange |
|
The predefined color constant for orange as the RGB value: (255, 165, 0). |
Purple |
|
The predefined color constant for purple as the RGB value: (255, 0, 255). |
Cyan |
|
The predefined color constant for cyan as the RGB value: (0, 255, 255). |
Transparent |
|
The predefined color constant for transparent. |
Controller Types#
Name |
C++ Enum |
Description |
---|---|---|
Primary |
|
Sets a EXP controller as the primary controller when initializing a controller. |
Partner |
|
Sets a EXP controller as the partner controller when initializing a controller. |
Cylinder Type#
Name |
C++ Enum |
Description |
---|---|---|
Cylinder 1 |
|
The first pneumatic cylinder. |
Cylinder 2 |
|
The second pneumatic cylinder. |
Cylinder 3 |
|
The third pneumatic cylinder. |
Cylinder 4 |
|
The fourth pneumatic cylinder. |
Cylinder All |
|
All pneumatic cylinders. |
Direction Types#
Name |
C++ Enum |
Description |
---|---|---|
Forward |
|
Sets the direction for a motor or drivetrain to move to forward. |
Reverse |
|
Sets the direction for a motor or drivetrain to move to reverse. |
Distance Units#
Name |
C++ Enum |
Description |
---|---|---|
Inches |
|
Measures the value of the distance in inches. |
Millimeters |
|
Measures the value of the distance in millimeters. |
Centimeters |
|
Measures the value of the distance in centimeters. |
End Effector Types#
Name |
C++ Enum |
Description |
---|---|---|
Magnet |
|
The magnet end effector for the 6-Axis CTE Arm. |
Pen |
|
The pen end effector for the 6-Axis CTE Arm. |
Font Types#
There are two different types of fonts available on the EXP Brain’s screen:
mono
is for Monotype font, where each character will take up the same width on the screen.prop
is for Proportional, where each character will take up different widths on the screen based on that character.
Name |
C++ Enum |
Description |
---|---|---|
Mono 12 |
|
The predefined monotype font of size 12. |
Mono 15 |
|
The predefined monotype font of size 15. |
Mono 20 |
|
The predefined monotype font of size 20. |
Mono 30 |
|
The predefined monotype font of size 30. |
Mono 40 |
|
The predefined monotype font of size 40. |
Mono 60 |
|
The predefined monotype font of size 60. |
Prop 20 |
|
The predefined proportional font of size 20. |
Prop 30 |
|
The predefined proportional font of size 30. |
Prop 40 |
|
The predefined proportional font of size 40. |
Prop 60 |
|
The predefined proportional font of size 60. |
CJK16 |
|
The predefined font for a Chinese/Japanese/Korean font of size 16. |
Gear Setting#
Name |
C++ Enum |
Description |
---|---|---|
Ratio 36:1 |
|
The constant to represent a 36:1 gear ratio. A red gearbox for an EXP SmartMotor. |
Ratio 18:1 |
|
The constant to represent a 18:1 gear ratio. A green gearbox for an EXP SmartMotor. |
Ratio 6:1 |
|
The constant to represent a 6:1 gear ratio. A blue gearbox for an EXP SmartMotor. |
LED State Types#
Name |
C++ Enum |
Description |
---|---|---|
On |
|
Sets the command to turn on the optical sensor’s LED. |
Off |
|
Sets the command to turn off the optical sensor’s LED. |
Object Types#
Name |
C++ Enum |
Description |
---|---|---|
Color |
|
The constant to represent a color object type for the AI Vision Sensor. |
Code |
|
The constant to represent a code object type for the AI Vision Sensor. |
Model |
|
The constant to represent a model object type for the AI Vision Sensor. |
Tag |
|
The constant to represent a tag object type for the AI Vision Sensor. |
All |
|
The constant to represent all object types for the AI Vision Sensor. |
Orientation Types#
Name |
C++ Enum |
Description |
---|---|---|
Roll |
|
Sets the command to generate values based on the roll. |
Pitch |
|
Sets the command to generate values based on the pitch. |
Yaw |
|
Sets the command to generate values based on the yaw. |
Ports#
Name |
C++ Enum |
Description |
---|---|---|
Port 1 |
|
Sets the port that device is connected to on the EXP Brain to port 1. |
Port 2 |
|
Sets the port that device is connected to on the EXP Brain to port 2. |
Port 3 |
|
Sets the port that device is connected to on the EXP Brain to port 3. |
Port 4 |
|
Sets the port that device is connected to on the EXP Brain to port 4. |
Port 5 |
|
Sets the port that device is connected to on the EXP Brain to port 5. |
Port 6 |
|
Sets the port that device is connected to on the EXP Brain to port 6. |
Port 7 |
|
Sets the port that device is connected to on the EXP Brain to port 7. |
Port 8 |
|
Sets the port that device is connected to on the EXP Brain to port 8. |
Port 9 |
|
Sets the port that device is connected to on the EXP Brain to port 9. |
Port 10 |
|
Sets the port that device is connected to on the EXP Brain to port 10. |
Rotation Units#
Name |
C++ Enum |
Description |
---|---|---|
Degrees |
|
Expresses the rotation value as a degree. |
Turns |
|
Expresses the rotation value in revolutions. |
Signal Tower Color Types#
Name |
Python Enum |
Description |
---|---|---|
All |
|
All LED lights in the Signal Tower. |
Red |
|
The red LED light in the Signal Tower. |
Green |
|
The green LED light in the Signal Tower. |
Blue |
|
The blue LED light in the Signal Tower. |
Yellow |
|
The yellow LED light in the Signal Tower. |
White |
|
The white LED light in the Signal Tower. |
Signal Tower State Types#
Name |
Python Enum |
Description |
---|---|---|
Off |
|
The state where an LED light on the signal tower is off. |
On |
|
The state where an LED light on the signal tower is on. |
Blink |
|
The state where an LED light on the signal tower is blinking on and off. |
Sound Types#
Name |
C++ Enum |
Description |
---|---|---|
Siren |
|
Sets the sound that the EXP Brain will play to siren. |
Wrong Way |
|
Sets the sound that the EXP Brain will play to wrong way. |
Wrong Way Slow |
|
Sets the sound that the EXP Brain will play to wrong way slow. |
Fillup |
|
Sets the sound that the EXP Brain will play to fillup. |
Headlights On |
|
Sets the sound that the EXP Brain will play to headlights on. |
Headlights Off |
|
Sets the sound that the EXP Brain will play to headlights off. |
Toll Booth |
|
Sets the sound that the EXP Brain will play to toll booth. |
Alarm |
|
Sets the sound that the EXP Brain will play to alarm. |
Tada |
|
Sets the sound that the EXP Brain will play to tada. |
Door Close |
|
Sets the sound that the EXP Brain will play to door close. |
Ratchet |
|
Sets the sound that the EXP Brain will play to ratchet. |
Wrench |
|
Sets the sound that the EXP Brain will play to wrench. |
Siren 2 |
|
Sets the sound that the EXP Brain will play to siren 2. |
Ratchet 2 |
|
Sets the sound that the EXP Brain will play to ratchet 2. |
Alarm 2 |
|
Sets the sound that the EXP Brain will play to alarm 2. |
Power Down |
|
Sets the sound that the EXP Brain will play to power down. |
Temperature Units#
Name |
C++ Enum |
Description |
---|---|---|
Celsius |
|
Expresses the temperature value in degrees Celsius. |
Fahrenheit |
|
Expresses the temperature value in degrees Fahrenheit. |
Time Units#
Name |
C++ Enum |
Description |
---|---|---|
Seconds |
|
Counts the time value in seconds. |
Milliseconds |
|
Counts the time value in milliseconds. |
Torque Units#
Name |
C++ Enum |
Description |
---|---|---|
Newton Meters |
|
Expresses the torque value in newton meters. |
Inch Pounds |
|
Expresses the torque value in inch pounds. |
Turn Types#
Name |
C++ Enum |
Description |
---|---|---|
Left |
|
Sets the command to turn to the left. |
Right |
|
Sets the command to turn to the right. |
Velocity Units#
Name |
C++ Enum |
Description |
---|---|---|
Rotations per Minute |
|
Expresses the velocity value in rotations per minute. |
Degrees per Second |
|
Expresses the velocity value in degrees per second. |
Voltage Units#
Name |
C++ Enum |
Description |
---|---|---|
Volt |
|
Expresses the voltage in volts. |
Millivolt |
|
Expresses the voltage in millivolts. |