|
VEX V5 Python API
|
Robot Mesh Vex V5 Python API. More...
Classes | |
| class | Accelerometer |
| class | AnalogIn |
| class | AnalogUnits |
| A unit of analog units. More... | |
| class | AxisType |
| Unit for inertial sensor axis. More... | |
| class | Bitmap |
| brief Bitmap that can be drawn using brain.Screen.drawBitmap More... | |
| class | Brain |
| class | BrainBattery |
| class | BrainLcd |
| Use the LCD class to write or draw to the LCD The LCD screen has a resolution of 480x240 pixels. More... | |
| class | BrainSDCard |
| class | BrakeType |
| A unit of brake mode. More... | |
| class | Bumper |
| class | Color |
| class | Competition |
| class | Controller |
| class | ControllerAxis |
| class | ControllerButton |
| class | ControllerLcd |
| class | ControllerType |
| class | CurrentUnits |
| A unit of electrical current. More... | |
| class | DetectionMode |
| class | Device |
| Use the device class to get information about a vex device plugged into the V5. More... | |
| class | Devices |
| Use the device class to get information about all of the vex devices plugged into the V5. More... | |
| class | DigitalIn |
| class | DigitalOut |
| class | DirectionType |
| A unit of direction. More... | |
| class | Distance |
| Use the distance class to control the distance sensor. More... | |
| class | DistanceUnits |
| A unit of distance. More... | |
| class | Encoder |
| class | Enum |
| class | Eyes |
| class | Font |
| A unit of font type. More... | |
| class | GearSetting |
| A unit of gear settings. More... | |
| class | Gyro |
| class | Inertial |
| Use the inertial class to control the inertial sensor. More... | |
| class | Led |
| class | LedMode |
| class | LedState |
| The defined units for optical sensor led state. More... | |
| class | Light |
| class | Limit |
| class | Line |
| class | Motor |
| class | Motor29 |
| class | MotorVictor |
| class | Optical |
| Use the optical class to control the optical sensor. More... | |
| class | OrientationType |
| Unit for inertial sensor orientation. More... | |
| class | PercentUnits |
| A unit of percentage. More... | |
| class | Pneumatics |
| class | Ports |
| class | Pot |
| class | PowerUnits |
| A unit of power. More... | |
| class | PwmOut |
| class | Rotation |
| Use the rotation class to control absolute encoder devices. More... | |
| class | RotationUnits |
| A unit of rotation. More... | |
| class | Serial |
| class | Servo |
| class | SizeType |
| The defined units for distance sensor object size. More... | |
| class | Sonar |
| class | TemperatureUnits |
| The measurement units for temperature values. More... | |
| class | Timer |
| class | TimeUnits |
| A unit of time. More... | |
| class | TorqueUnits |
| A unit of torque. More... | |
| class | TriDevice |
| class | Triport |
| class | TriportPort |
| class | TurnType |
| Left or right turn. More... | |
| class | V5DeviceType |
| class | VelocityUnits |
| A unit of velocity. More... | |
| class | Vision |
| Class representing Vision Sensor device. More... | |
| class | VisionCode |
| class | VisionObject |
| class | VisionSignature |
| class | VoltageUnits |
| The measurement units for voltage values. More... | |
| class | WhiteBalanceMode |
| class | WifiMode |
Functions | |
| def | staticmethod (fn) |
| def | wait (time, timeUnits=TimeUnits.SEC) |
| Wait for a specific amount of time. More... | |
Variables | |
| int | SYSTEM_DISPLAY_WIDTH = 480 |
| int | SYSTEM_DISPLAY_HEIGHT = 272 |
| int | STATUS_BAR_HEIGHT = 32 |
| DEGREES = RotationUnits.DEG | |
| TURNS = RotationUnits.REV | |
| PERCENT = PercentUnits.PCT | |
| SECONDS = TimeUnits.SEC | |
| INCHES = DistanceUnits.IN | |
| MM = DistanceUnits.MM | |
| FORWARD = DirectionType.FWD | |
| REVERSE = DirectionType.REV | |
| LEFT = TurnType.LEFT | |
| RIGHT = TurnType.RIGHT | |
| XAXIS = AxisType.XAXIS | |
| YAXIS = AxisType.YAXIS | |
| ZAXIS = AxisType.ZAXIS | |
| ROLL = OrientationType.ROLL | |
| PITCH = OrientationType.PITCH | |
| YAW = OrientationType.YAW | |
| MONO_M = Font.MONO_20 | |
| MONO_L = Font.MONO_30 | |
| MONO_XL = Font.MONO_40 | |
| MONO_XXL = Font.MONO_60 | |
| MONO_S = Font.MONO_15 | |
| MONO_XS = Font.MONO_12 | |
| PROP_M = Font.PROP_20 | |
| PROP_L = Font.PROP_30 | |
| PROP_XL = Font.PROP_40 | |
| PROP_XXL = Font.PROP_60 | |
| PRIMARY = ControllerType.PRIMARY | |
| PARTNER = ControllerType.PARTNER | |
| string | RUMBLE_LONG = "----" |
| string | RUMBLE_SHORT = "...." |
| string | RUMBLE_PULSE = "-.-." |
Robot Mesh Vex V5 Python API.
Copyright 2018 Robot Mesh
Copyright 2020 Robot Mesh
| def vex.staticmethod | ( | fn | ) |
| def vex.wait | ( | time, | |
timeUnits = TimeUnits.SEC |
|||
| ) |
Wait for a specific amount of time.
Identical to sys.sleep().
| time | The length of time to wait |
| timeUnits | The units of time (default seconds) |
| int vex.SYSTEM_DISPLAY_WIDTH = 480 |
| int vex.SYSTEM_DISPLAY_HEIGHT = 272 |
| int vex.STATUS_BAR_HEIGHT = 32 |
| vex.DEGREES = RotationUnits.DEG |
| vex.TURNS = RotationUnits.REV |
| vex.PERCENT = PercentUnits.PCT |
| vex.SECONDS = TimeUnits.SEC |
| vex.INCHES = DistanceUnits.IN |
| vex.MM = DistanceUnits.MM |
| vex.FORWARD = DirectionType.FWD |
| vex.REVERSE = DirectionType.REV |
| vex.LEFT = TurnType.LEFT |
| vex.RIGHT = TurnType.RIGHT |
| vex.XAXIS = AxisType.XAXIS |
| vex.YAXIS = AxisType.YAXIS |
| vex.ZAXIS = AxisType.ZAXIS |
| vex.ROLL = OrientationType.ROLL |
| vex.PITCH = OrientationType.PITCH |
| vex.YAW = OrientationType.YAW |
| vex.MONO_M = Font.MONO_20 |
| vex.MONO_L = Font.MONO_30 |
| vex.MONO_XL = Font.MONO_40 |
| vex.MONO_XXL = Font.MONO_60 |
| vex.MONO_S = Font.MONO_15 |
| vex.MONO_XS = Font.MONO_12 |
| vex.PROP_M = Font.PROP_20 |
| vex.PROP_L = Font.PROP_30 |
| vex.PROP_XL = Font.PROP_40 |
| vex.PROP_XXL = Font.PROP_60 |
| vex.PRIMARY = ControllerType.PRIMARY |
| vex.PARTNER = ControllerType.PARTNER |
| string vex.RUMBLE_LONG = "----" |
| string vex.RUMBLE_SHORT = "...." |
| string vex.RUMBLE_PULSE = "-.-." |
1.8.15