PiStorms  4.015
PiStorms Library Reference by mindsensors.com
 All Classes Namespaces Files Functions Variables
PiStormsCom.PSSensor Class Reference

Public Member Functions

def __init__
 
def setType
 
def getType
 
def EV3Retrieve
 
def isTouchedEV3
 
def numTouchesEV3
 
def resetTouchesEV3
 
def setModeEV3
 
def distanceIREV3
 
def rawIREV3
 
def headingIREV3
 
def distanceRemoteIREV3
 
def remoteLeft
 
def remoteRight
 
def distanceUSEV3cm
 
def distanceUSEV3in
 
def presenceUSEV3
 
def rawGyro
 
def gyroAngleEV3
 
def gyroRateEV3
 
def reflectedLightSensorEV3
 
def ambientLightSensorEV3
 
def colorSensorEV3
 
def readNXT
 
def isTouchedNXT
 
def numTouchesNXT
 
def resetTouchesNXT
 
def lightSensorNXT
 
def SumoEyes
 
def colorSensorRawNXT
 
def colorSensorNXT
 
def colorSensorNoneNXT
 
def colorSensorRedNXT
 
def colorSensorGreenNXT
 
def colorSensorBlueNXT
 
def analogSensor
 
def activateCustomSensorI2C
 

Public Attributes

 bank
 
 sensornum
 
 type
 
 EV3Cache
 

Static Public Attributes

int PS_SENSOR_TYPE_NONE = 0
 
int PS_SENSOR_TYPE_SWITCH = 1
 
int PS_SENSOR_TYPE_ANALOG = 2
 
int PS_SENSOR_TYPE_LIGHT_ACTIVE = 3
 
int PS_SENSOR_TYPE_LIGHT_INACTIVE = 4
 
int PS_SENSOR_TYPE_SOUND_DB = 5
 
int PS_SENSOR_TYPE_SOUND_DBA = 6
 
int PS_SENSOR_TYPE_LOWSPEED_9V = 7
 
int PS_SENSOR_TYPE_LOWSPEED = 8
 
int PS_SENSOR_TYPE_CUSTOM = 9
 
int PS_SENSOR_TYPE_COLORFULL = 13
 
int PS_SENSOR_TYPE_COLORRED = 14
 
int PS_SENSOR_TYPE_COLORGREEN = 15
 
int PS_SENSOR_TYPE_COLORBLUE = 16
 
int PS_SENSOR_TYPE_COLORNONE = 17
 
int PS_SENSOR_TYPE_EV3_SWITCH = 18
 
int PS_SENSOR_TYPE_EV3 = 19
 
int PS_SENSOR_COLOR_NONE = 0
 
int PS_SENSOR_COLOR_BLACK = 1
 
int PS_SENSOR_COLOR_BLUE = 2
 
int PS_SENSOR_COLOR_GREEN = 3
 
int PS_SENSOR_COLOR_YELLOW = 4
 
int PS_SENSOR_COLOR_RED = 5
 
int PS_SENSOR_COLOR_WHITE = 6
 
int PS_SENSOR_COLOR_BROWN = 7
 
int SE_None = 0
 
int SE_Front = 1
 
int SE_Left = 2
 
int SE_Right = 3
 

The documentation for this class was generated from the following file: