rover/connections.py
def closeConnections(self):
		'''
		Closes all the connections opened by the Rover
		'''

		if self.connection_type == 'b':
			try:
				self.bt_sock.send('0')
				time.sleep(0.25)
				self.bt_sock.close()
			except:
				pass
		elif self.connection_type == 'x':
			self.joy.close()

		if self.unix_sock != None:
			self.unix_sock.close()

		Closes all the connections opened by the Rover
		
Closes all the connections opened by the Rover
Closes all the connections opened by the Rover
def closeConnections(self):
		if self.connection_type == 'b':
			try:
				self.bt_sock.send('0')
				time.sleep(0.25)
				self.bt_sock.close()
			except:
				pass
		elif self.connection_type == 'x':
			self.joy.close()
		if self.unix_sock != None:
			self.unix_sock.close()
def closeConnections ( self ) : if self . connection_type == 'b' : try : self . bt_sock . send ( '0' ) time . sleep ( 0.25 ) self . bt_sock . close ( ) except : pass elif self . connection_type == 'x' : self . joy . close ( ) if self . unix_sock != None : self . unix_sock . close ( )
Closes all the connections opened by the Rover
Closes all the connections opened by the Rover
'''
		Closes all the connections opened by the Rover
		'''
self