rover/osr.py
def drive(self):
		'''
		Takes drive commands and sends them to the robot
		
		'''
		cmds = self.getDriveVals()
		if cmds != self.prev_cmd:                   #if no new command don't send commands to robot
			self.sendCommands(cmds[0],cmds[1])
			self.prev_cmd = cmds
		else:										#still monitor the corners to reduce jitter though
			self.cornerPosControl(self.calculateTargetDeg(cmds[1]))

		if self.unix_flag: self.sendFaceCmd()

		Takes drive commands and sends them to the robot
		
		
Takes drive commands and sends them to the robot
Takes drive commands and sends them to the robot
def drive(self):
		cmds = self.getDriveVals()
		if cmds != self.prev_cmd:                   
			self.sendCommands(cmds[0],cmds[1])
			self.prev_cmd = cmds
		else:										
			self.cornerPosControl(self.calculateTargetDeg(cmds[1]))
		if self.unix_flag: self.sendFaceCmd()
def drive ( self ) : cmds = self . getDriveVals ( ) if cmds != self . prev_cmd : self . sendCommands ( cmds [ 0 ] , cmds [ 1 ] ) self . prev_cmd = cmds else : self . cornerPosControl ( self . calculateTargetDeg ( cmds [ 1 ] ) ) if self . unix_flag : self . sendFaceCmd ( )
Takes drive commands and sends them to the robot
Takes drive commands and sends them to the robot
'''
		Takes drive commands and sends them to the robot
		
		''' #if no new command don't send commands to robot #still monitor the corners to reduce jitter though
self