| 
		
	
		
		
		
		 
			
			Hi 
The problem is specific to this laptop. It works on a very similar laptop (although we initially had a speed issue and removed the antivirus software to solve this). I've also realised that the issue is in one direction only (we have a .txt file as input and east-west is working normalliy, but north-south seems to be exponentially speeding up along the path). 
 
I've pasted our keyboard info below: 
def checkKeyboard(): 
	MOVE_SPEED_MULTIPLIER=0.6 
	ROTATE_SPEED_MULTIPLIER=0.6 
	tomove = 0 
	torotate = 0 
	#print 'viz.key',viz.key  
	 
	if viz.key.isDown(viz.KEY_UP): 
		tomove = mazeExptParams.MOVE_SPEED*MOVE_SPEED_MULTIPLIER 
	elif viz.key.isDown(viz.KEY_DOWN): 
		tomove = -mazeExptParams.MOVE_SPEED*MOVE_SPEED_MULTIPLIER 
	elif viz.key.isDown(viz.KEY_RIGHT): 
		torotate = mazeExptParams.ROTATE_SPEED*ROTATE_SPEED_MULTIPLIE  R 
	elif viz.key.isDown(viz.KEY_LEFT): 
		torotate = -mazeExptParams.ROTATE_SPEED*ROTATE_SPEED_MULTIPLIE  R 
	elif viz.key == viz.KEY_F1: 
		torotate = -mazeExptParams.ROTATE_SPEED*ROTATE_SPEED_MULTIPLIE  R 
	viz.move(0,0,tomove) 
	viz.rotate(viz.BODY_ORI,torotate,0,0) 
 
 
Thanks 
Emily
		 
		
		
		
		
		
		
		
		
			
			
			
			
				 
			
			
			
			
			
			
			
				
			
			
			
		 
	
	 |