![]() |
VEXcode IQ C++ Unofficial documentation for version 3.0.4.1
|
Header for IQ API - type definitions. More...
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Macros | |
#define | IQ_MAX_DEVICE_PORTS 32 |
#define | VISION_SIG_FLAG_STATUS (1<<0) |
Typedefs | |
typedef IQ_DeviceType | IQ_DeviceTypeBuffer[IQ_MAX_DEVICE_PORTS] |
Enumerations | |
enum | IQ_DeviceType { kDeviceTypeNoSensor = 0 , kDeviceTypeMotorSensor = 2 , kDeviceTypeLedSensor = 3 , kDeviceTypeRgbSensor = 4 , kDeviceTypeBumperSensor = 5 , kDeviceTypeGyroSensor = 6 , kDeviceTypeSonarSensor = 7 , kDeviceTypeRadioSensor = 8 , kDeviceTypeTetherSensor = 9 , kDeviceTypeVisionSensor = 11 , kDeviceTypeGenericSensor = 0x80 , kDeviceTypeUserSensor = 0xFF } |
IQ Device type definitions More... | |
enum | IQVisionMode { kVisionModeNormal = 0 , kVisionModeMixed = 1 , kVisionModeLineDetect = 2 , kVisionTypeTest = 3 } |
IQ Vision sensor definitions More... | |
enum | IQVisionBlockType { kVisionTypeNormal = 0 , kVisionTypeColorCode = 1 , kVisionTypeLineDetect = 2 } |
enum | IQVisionWBMode { kVisionWBNormal = 0 , kVisionWBStart = 1 , kVisionWBManual = 2 } |
enum | IQVisionLedMode { kVisionLedModeAuto = 0 , kVisionLedModeManual = 1 } |
enum | IQVisionWifiMode { kVisionWifiModeOff = 0 , kVisionWifiModeOn = 1 } |
Functions | |
struct | __attribute ((packed)) _IQ_DeviceVisionObject |
struct | __attribute__ ((__packed__)) |
Variables | |
IQ_DeviceVisionObject | |
IQ_DeviceVisionRgb | |
IQ_VisionDetectionObj | |
IQ_VisionDetectionSettings | |
Header for IQ API - type definitions.
Definition in file iq_apitypes.h.
#define IQ_MAX_DEVICE_PORTS 32 |
Definition at line 53 of file iq_apitypes.h.
#define VISION_SIG_FLAG_STATUS (1<<0) |
Definition at line 97 of file iq_apitypes.h.
typedef IQ_DeviceType IQ_DeviceTypeBuffer[IQ_MAX_DEVICE_PORTS] |
Definition at line 54 of file iq_apitypes.h.
enum IQ_DeviceType |
IQ Device type definitions
Definition at line 35 of file iq_apitypes.h.
enum IQVisionBlockType |
Definition at line 68 of file iq_apitypes.h.
enum IQVisionLedMode |
Definition at line 82 of file iq_apitypes.h.
enum IQVisionMode |
IQ Vision sensor definitions
Definition at line 61 of file iq_apitypes.h.
enum IQVisionWBMode |
Definition at line 75 of file iq_apitypes.h.
enum IQVisionWifiMode |
Definition at line 88 of file iq_apitypes.h.
struct __attribute | ( | (packed) | ) |
block signature
block type
left side of block
top of block
width of block
height of block
angle of CC block in 0.1 deg units
not used yet
Definition at line 54 of file iq_apitypes.h.
struct __attribute__ | ( | (__packed__) | ) |
Definition at line 116 of file iq_apitypes.h.
IQ_DeviceVisionObject |
Definition at line 108 of file iq_apitypes.h.
IQ_DeviceVisionRgb |
Definition at line 116 of file iq_apitypes.h.
IQ_VisionDetectionObj |
Definition at line 129 of file iq_apitypes.h.
IQ_VisionDetectionSettings |
Definition at line 143 of file iq_apitypes.h.