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