Here is the updated markdown page with global variables included:

Enums#

Brake Types#

Name

C++ Enum

Description

Coast

coast or brakeType::coast

The coast mode allows the motor to gradually come to a stop.

Brake

brake or brakeType::brake

The brake mode stops the motor immediately.

Hold

hold or brakeType::hold

The hold mode stops the robot immediately and holds the motor in the stopped position.

Color Types#

Name

C++ Enum

Description

Black

black or colorType::black

The predefined color constant for black as the RGB value: (0, 0, 0).

White

white or colorType::white

The predefined color constant for white as the RGB value: (255, 255, 255).

Red

red or colorType::red

The predefined color constant for red as the RGB value: (255, 0, 0).

Green

green or colorType::green

The predefined color constant for green as the RGB value: (0, 255, 0).

Blue

blue or colorType::blue

The predefined color constant for blue as the RGB value: (0, 0, 255).

Yellow

yellow or colorType::yellow

The predefined color constant for yellow as the RGB value: (255, 255, 0).

Orange

orange or colorType::orange

The predefined color constant for orange as the RGB value: (255, 165, 0).

Purple

purple or colorType::purple

The predefined color constant for purple as the RGB value: (128, 0, 128).

Cyan

cyan or colorType::cyan

The predefined color constant for cyan as the RGB value: (0, 255, 255).

Transparent

transparent or colorType::transparent

The predefined color constant for transparent.

Red Violet

colorType::red_violet

The predefined color constant for red-violet.

Violet

colorType::violet

The predefined color constant for violet.

Blue Violet

colorType::blue_violet

The predefined color constant for blue-violet.

Blue Green

colorType::blue_green

The predefined color constant for blue-green.

Yellow Green

colorType::yellow_green

The predefined color constant for yellow-green.

Yellow Orange

colorType::yellow_orange

The predefined color constant for yellow-orange.

Red Orange

colorType::red_orange

The predefined color constant for red-orange.

Cylinder Types#

Name

C++ Enum

Description

Cylinder1

cylinder1 or cylinderType::cylinder1

The first pneumatic cylinder.

Cylinder2

cylinder2 or cylinderType::cylinder2

The second pneumatic cylinder.

CylinderAll

cylinderAll or cylinderType::cylinderAll

All pneumatic cylinders.

Direction Types#

Name

C++ Enum

Description

Forward

forward or directionType::fwd

Sets the direction to forward.

Reverse

reverse or directionType::rev

Sets the direction to reverse.

Distance Units#

Name

C++ Enum

Description

Millimeter

mm or distanceUnits::mm

Expresses the distance value in millimeters.

Inch

inches or distanceUnits::in

Expresses the distance value in inches.

Centimeter

distanceUnits::cm

Expresses the distance value in centimeters.

Counts

distanceUnits::counts

Expresses the distance value in counts.

Fade Types#

Name

C++ Enum

Description

Off

off or fadeType::off

Fade effect is off.

Slow

slow or fadeType::slow

Fade effect is slow.

Fast

fast or fadeType::fast

Fade effect is fast.

Gesture Types#

Name

C++ Enum

Description

Up

gestureType::up

Upward gesture detected.

Down

gestureType::down

Downward gesture detected.

Left

gestureType::left

Leftward gesture detected.

Right

gestureType::right

Rightward gesture detected.

Gyro Calibration Types#

Name

C++ Enum

Description

Normal

calNormal or gyroCalibrationType::calNormal

Normal calibration mode.

Slow

calSlow or gyroCalibrationType::calSlow

Slow calibration mode.

Extended

calExtended or gyroCalibrationType::calExtended

Extended calibration mode.

LED States#

Name

C++ Enum

Description

Off

ledState::off

LED is off.

On

ledState::on

LED is on.

Blink

ledState::blink

LED is blinking.

Rate Units#

Name

C++ Enum

Description

Degrees per second

rateUnits::dps

Expresses the rate in degrees per second.

Rotations per second

rateUnits::rps

Expresses the rate in rotations per second.

Rotation Units#

Name

C++ Enum

Description

Degrees

deg or rotationUnits::deg

Expresses the rotation value in degrees.

Revolutions

rev or rotationUnits::rev

Expresses the rotation value in revolutions.

Turns

turns

The number of turns.

Raw

rotationUnits::raw

Raw rotation value.

Sound Types#

Name

C++ Enum

Description

Siren

siren or soundType::siren

Plays the siren sound.

Wrong Way

wrongWay or soundType::wrongWay

Plays the wrong way sound.

Wrong Way Slow

wrongWaySlow or soundType::wrongWaySlow

Plays the slow wrong way sound.

Fillup

fillup or soundType::fillup

Plays the fillup sound.

Headlights On

headlightsOn or soundType::headlightsOn

Plays the headlights on sound.

Headlights Off

headlightsOff or soundType::headlightsOff

Plays the headlights off sound.

Toll Booth

tollBooth or soundType::tollBooth

Plays the toll booth sound.

Alarm

alarm or soundType::alarm

Plays the alarm sound.

Tada

tada or soundType::tada

Plays the tada sound.

Door Close

doorClose or soundType::doorClose

Plays the door close sound.

Ratchet

ratchet or soundType::ratchet

Plays the ratchet sound.

Wrench

wrench or soundType::wrench

Plays the wrench sound.

Siren 2

siren2 or soundType::siren2

Plays the siren 2 sound.

Ratchet 2

ratchet2 or soundType::ratchet2

Plays the ratchet 2 sound.

Alarm 2

alarm2 or soundType::alarm2

Plays the alarm 2 sound.

Power Down

powerDown or soundType::powerDown

Plays the power down sound.

Size Types#

Name

C++ Enum

Description

Small

sizeType::small

Small size.

Medium

sizeType::medium

Medium size.

Large

sizeType::large

Large size.

Temperature Units#

Name

C++ Enum

Description

Celsius

celsius or temperatureUnits::celsius

Expresses the temperature in degrees Celsius.

Fahrenheit

fahrenheit or temperatureUnits::fahrenheit

Expresses the temperature in degrees Fahrenheit.

Time Units#

Name

C++ Enum

Description

Seconds

seconds or timeUnits::sec

Counts the time value in seconds.

Milliseconds

msec or timeUnits::msec

Counts the time value in milliseconds.

Torque Units#

Name

C++ Enum

Description

Newton Meters

Nm or torqueUnits::Nm

Expresses the torque value in newton meters.

Inch Pounds

InLb or torqueUnits::InLb

Expresses the torque value in inch pounds.

Turn Types#

Name

C++ Enum

Description

Left

left or turnType::left

Sets the command to turn to the left.

Right

right or turnType::right

Sets the command to turn to the right.

Velocity Units#

Name

C++ Enum

Description

Percent

velocityUnits::pct

Expresses the velocity value as a percentage.

Rotations per Minute

rpm or velocityUnits::rpm

Expresses the velocity value in rotations per minute.

Degrees per Second

dps or velocityUnits::dps

Expresses the velocity value in degrees per second.

Voltage Units#

Name

C++ Enum

Description

Volt

volt or voltageUnits::volt

Expresses the voltage in volts.

Millivolt

voltageUnits::mV

Expresses the voltage in millivolts.