VEXcode IQ C++ Unofficial documentation for version 3.0.4.1
Loading...
Searching...
No Matches
vex_units.h File Reference

Header for global units. More...

Go to the source code of this file.

Namespaces

namespace  vex
 Bumper switch device class

 

Enumerations

enum class  percentUnits { pct = 0 }
 
enum class  timeUnits { sec , msec }
 
enum class  currentUnits { amp }
 
enum class  voltageUnits { volt , mV }
 
enum class  powerUnits { watt }
 
enum class  torqueUnits { Nm , InLb }
 
enum class  rotationUnits { deg , rev , raw = 99 }
 
enum class  velocityUnits { pct = (int)percentUnits::pct , rpm , dps }
 
enum class  distanceUnits { mm , in , cm , counts }
 
enum class  temperatureUnits { celsius , fahrenheit }
 
enum class  directionType { fwd = 0 , rev , undefined }
 
enum class  turnType { left , right }
 
enum class  brakeType { coast = 0 , brake = 1 , hold = 2 , undefined }
 
enum class  sizeType { none , small , medium , large }
 
enum class  colorType {
  none , red , green , blue ,
  white , yellow , orange , purple ,
  cyan , red_violet , violet , blue_violet ,
  blue_green , yellow_green , yellow_orange , red_orange ,
  black , transparent
}
 
enum class  fadeType { off , slow , fast }
 
enum class  gyroCalibrationType { calNormal , calSlow , calExtended }
 
enum class  rateUnits { dps , rps }
 
enum class  ledState { off , on , blink }
 
enum class  soundType {
  siren = 0 , wrongWay = 1 , wrongWaySlow = 2 , fillup = 3 ,
  headlightsOn = 4 , headlightsOff = 5 , tollBooth = 6 , alarm = 7 ,
  tada = 8 , doorClose = 9 , ratchet = 10 , wrench = 11 ,
  siren2 = 12 , ratchet2 = 13 , alarm2 = 14 , powerDown = 15
}
 
enum class  vex::gestureType {
  none , up , down , left ,
  right
}
 The defined units for optical sensor gesture types. More...
 
enum class  vex::cylinderType { cylinder1 = 0 , cylinder2 = 1 , cylinderAll = 0xff }
 The defined types for pneumatic cylinders. More...
 

Detailed Description

Header for global units.

Definition in file vex_units.h.