rover/motor_controller.py
def errorCheck(self):
		'''
		Checks error status of each motor controller, returns 0 if any errors occur
		'''

		for i in range(5):
			self.err[i] = self.rc.ReadError(self.address[i])[1]
		for error in self.err:
			if error:
				self.killMotors()
				self.writeError()
				raise Exception("Motor controller Error", error)
		return 1

		Checks error status of each motor controller, returns 0 if any errors occur
		
Checks error status of each motor controller, returns 0 if any errors occur
Checks error status of each motor controller returns 0 if any errors occur
def errorCheck(self):
		for i in range(5):
			self.err[i] = self.rc.ReadError(self.address[i])[1]
		for error in self.err:
			if error:
				self.killMotors()
				self.writeError()
				raise Exception("Motor controller Error", error)
		return 1
def errorCheck ( self ) : for i in range ( 5 ) : self . err [ i ] = self . rc . ReadError ( self . address [ i ] ) [ 1 ] for error in self . err : if error : self . killMotors ( ) self . writeError ( ) raise Exception ( "Motor controller Error" , error ) return 1
Checks error status of each motor controller, returns 0 if any errors occur
Checks error status of each motor controller returns 0 if any errors occur
'''
		Checks error status of each motor controller, returns 0 if any errors occur
		'''
self