rover/motor_controller.py
def cornerToPosition(self,tick):
		'''
		Method to send position commands to the corner motor

		:param list tick: A list of ticks for each of the corner motors to
		move to, if tick[i] is 0 it instead stops that motor from moving

		'''
		speed, accel = 1000,2000            #These values could potentially need tuning still
		self.errorCheck()
		for i in range(4):
			index = int(math.ceil((i+1)/2.0)+2)
			if tick[i]:
				if (i % 2):  self.rc.SpeedAccelDeccelPositionM2(self.address[index],accel,speed,accel,tick[i],1)
				else:        self.rc.SpeedAccelDeccelPositionM1(self.address[index],accel,speed,accel,tick[i],1)				
			else:
				if not (i % 2): self.rc.ForwardM1(self.address[index],0)
				else:           self.rc.ForwardM2(self.address[index],0)

		Method to send position commands to the corner motor

		:param list tick: A list of ticks for each of the corner motors to
		move to, if tick[i] is 0 it instead stops that motor from moving

		
Method to send position commands to the corner motor
Method to send position commands to the corner motor
def cornerToPosition(self,tick):
		speed, accel = 1000,2000            
		self.errorCheck()
		for i in range(4):
			index = int(math.ceil((i+1)/2.0)+2)
			if tick[i]:
				if (i % 2):  self.rc.SpeedAccelDeccelPositionM2(self.address[index],accel,speed,accel,tick[i],1)
				else:        self.rc.SpeedAccelDeccelPositionM1(self.address[index],accel,speed,accel,tick[i],1)				
			else:
				if not (i % 2): self.rc.ForwardM1(self.address[index],0)
				else:           self.rc.ForwardM2(self.address[index],0)
def cornerToPosition ( self , tick ) : speed , accel = 1000 , 2000 self . errorCheck ( ) for i in range ( 4 ) : index = int ( math . ceil ( ( i + 1 ) / 2.0 ) + 2 ) if tick [ i ] : if ( i % 2 ) : self . rc . SpeedAccelDeccelPositionM2 ( self . address [ index ] , accel , speed , accel , tick [ i ] , 1 ) else : self . rc . SpeedAccelDeccelPositionM1 ( self . address [ index ] , accel , speed , accel , tick [ i ] , 1 ) else : if not ( i % 2 ) : self . rc . ForwardM1 ( self . address [ index ] , 0 ) else : self . rc . ForwardM2 ( self . address [ index ] , 0 )
Method to send position commands to the corner motor
Method to send position commands to the corner motor
'''
		Method to send position commands to the corner motor

		:param list tick: A list of ticks for each of the corner motors to
		move to, if tick[i] is 0 it instead stops that motor from moving

		''' #These values could potentially need tuning still
self
tick
A list of ticks for each of the corner motors to
move to, if tick[i] is 0 it instead stops that motor from moving
A list of ticks for each of the corner motors to move to if tick [ i ] is 0 it instead stops that motor from moving