###################################### # This Module holds global variables # ###################################### class globalvars (): #enter your global variables here testVar_low = [0, 0, 0, 0, 0, 0] testVar_high = [2, 2, 2, 2, 2, 2] testVar1 = 0 testVar2 = "hello" #Gripper Values closePosition = 0.030 openPositionBig = 0.065 openPositionSmall = 0.048 bigCupSize = 0.052 # a bit smaller than real size ringSize = 0.033 # a bit smaller than real size smallCupSize = 0.033 gripVel = 50 timeOut = 5 pourVel = 20 pourTime = 2 #Motion Values SpeedHigh = 50 SpeedLow = 20 #DIO Values - check: changed - must be unsigned VibrateOn = [8,38,255,0,0,0,0,0] VibrateOff = [8,38,0,0,0,0,0,0] #Position Values Degree_90 = 1.8 Degree_120 = 2.5 #setter-function example def setVar2(self, strVal): self.testVar2 = strVal # getter function example def getVar2(self): return self.testVar2 def __init__(self): pass