rover/connections.py
def _btVals(self):
		'''
		Parses values from the bluetooth app as drive, turning, and LED screen commands
		these values should be:

		v: [-100,100]
		r: [-100,100]
		led: [0-3]

		'''
		try:
			sockData = self.bt_sock.recv(1024)
			v,s,c = ord(sockData[3]),ord(sockData[7]),ord(sockData[-1])
			self.led = ord(sockData[11])
			self.bt_sock.send('1')
			return (v-100,s-100)
		except:
			pass

		Parses values from the bluetooth app as drive, turning, and LED screen commands
		these values should be:

		v: [-100,100]
		r: [-100,100]
		led: [0-3]

		
Parses values from the bluetooth app as drive, turning, and LED screen commands
these values should be.


Parses values from the bluetooth app as drive turning and LED screen commands these values should be .
def _btVals(self):
		try:
			sockData = self.bt_sock.recv(1024)
			v,s,c = ord(sockData[3]),ord(sockData[7]),ord(sockData[-1])
			self.led = ord(sockData[11])
			self.bt_sock.send('1')
			return (v-100,s-100)
		except:
			pass
def _btVals ( self ) : try : sockData = self . bt_sock . recv ( 1024 ) v , s , c = ord ( sockData [ 3 ] ) , ord ( sockData [ 7 ] ) , ord ( sockData [ - 1 ] ) self . led = ord ( sockData [ 11 ] ) self . bt_sock . send ( '1' ) return ( v - 100 , s - 100 ) except : pass
Parses values from the bluetooth app as drive, turning, and LED screen commands
these values should be:
Parses values from the bluetooth app as drive turning and LED screen commands these values should be :
'''
		Parses values from the bluetooth app as drive, turning, and LED screen commands
		these values should be:

		v: [-100,100]
		r: [-100,100]
		led: [0-3]

		'''
self