예제 #1
0
 def __init__(self, scaling_output=True):
     DefaultDelegate.__init__(self)
     # holds samples until OpenBCIBoard claims them
     self.samples = []
     # detect gaps between packets
     self.last_id = -1
     self.packets_dropped = 0
     # save uncompressed data to compute deltas
     self.lastChannelData = [0, 0, 0, 0]
     # 18bit data got here and then accelerometer with it
     self.lastAcceleromoter = [0, 0, 0]
     # when the board is manually set in the right mode (z to start, Z to stop)
     # impedance will be measured. 4 channels + ref
     self.lastImpedance = [0, 0, 0, 0, 0]
     self.scaling_output = scaling_output
     # handling incoming ASCII messages
     self.receiving_ASCII = False
     self.time_last_ASCII = timeit.default_timer()
예제 #2
0
 def __init__(self):
     DefaultDelegate.__init__(self)
     self.lastVal = 0
예제 #3
0
 def __init__(self, nuimoOnkyo):
     DefaultDelegate.__init__(self)
     self.nuimo = nuimoOnkyo
예제 #4
0
 def __init__(self, csvlog):
     DefaultDelegate.__init__(self)
     self.csvlog = csvlog
예제 #5
0
 def __init__(self, container=None):
     DefaultDelegate.__init__(self)
     self.__container = container
예제 #6
0
 def __init__(self, address):
     DefaultDelegate.__init__(self)
     self.__address = address
     self.__connect()
예제 #7
0
 def __init__(self):
     DefaultDelegate.__init__(self)
예제 #8
0
파일: ScanDelegate.py 프로젝트: uname/blepi
 def __init__(self):
     DefaultDelegate.__init__(self)
예제 #9
0
 def __init__(self, params):
     DefaultDelegate.__init__(self)
예제 #10
0
 def __init__(self):
     DefaultDelegate.__init__(self)
     self.devices = []
예제 #11
0
 def __init__(self, params):
   DefaultDelegate.__init__(self)
   print "Info, DefaultDelegate set", params
예제 #12
0
 def __init__(self, nuimoTimer):
     DefaultDelegate.__init__(self)
     self.nuimoTimer = nuimoTimer
 def __init__(self, nuimo, strip):
     DefaultDelegate.__init__(self)
     self.nuimo = nuimo
     self.strip = strip
예제 #14
0
파일: ble_task.py 프로젝트: Jeoy5460/imu
 def __init__(self):
     DefaultDelegate.__init__(self)
     self.d_movement = deque()
 def __init__(self):
     DefaultDelegate.__init__(self)
     self.queue = list()
예제 #16
0
 def __init__(self, scanner, notify):
     DefaultDelegate.__init__(self)
     self.notify = notify
     self.scanner = scanner
예제 #17
0
	def __init__(self, bt_addr):
		DefaultDelegate.__init__(self)
		self.bt_addr = bt_addr
예제 #18
0
파일: scan.py 프로젝트: 4n6strider/bleah
 def __init__(self, opts):
     DefaultDelegate.__init__(self)
     self.opts = opts
예제 #19
0
 def __init__(self):
     DefaultDelegate.__init__(self)
     self.current_index = 0
     self.dft = [0] * 256
예제 #20
0
파일: main.py 프로젝트: Gril258/gdtb
 def __init__(self, device):
     DefaultDelegate.__init__(self)
     self.device = device