Update kuukar_motion.py
This commit is contained in:
		
							parent
							
								
									432c86114e
								
							
						
					
					
						commit
						9608a0166b
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -163,8 +163,7 @@ class motion:
 | 
			
		|||
 | 
			
		||||
    def __roam_handle(self):
 | 
			
		||||
        if self.sensors.sonar_get_distance()<500:
 | 
			
		||||
            self.turn(50,1500)
 | 
			
		||||
            time.sleep(0.1)
 | 
			
		||||
            self.turn(50,2000)
 | 
			
		||||
            self.drive(25)
 | 
			
		||||
            time.sleep(0.5)
 | 
			
		||||
        if not self.roaming:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue