| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -408,7 +408,7 @@ class Controls: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    # TODO: fix simulator | 
					 | 
					 | 
					 | 
					    # TODO: fix simulator | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if not SIMULATION: | 
					 | 
					 | 
					 | 
					    if not SIMULATION: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      if not NOSENSOR: | 
					 | 
					 | 
					 | 
					      if not NOSENSOR: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if not self.sm['liveLocationKalman'].gpsOK and (self.distance_traveled > 1000): | 
					 | 
					 | 
					 | 
					        if not self.sm['liveLocationKalman'].gpsOK and self.sm['liveLocationKalman'].inputsOK and (self.distance_traveled > 1000): | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          # Not show in first 1 km to allow for driving out of garage. This event shows after 5 minutes | 
					 | 
					 | 
					 | 
					          # Not show in first 1 km to allow for driving out of garage. This event shows after 5 minutes | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          self.events.add(EventName.noGps) | 
					 | 
					 | 
					 | 
					          self.events.add(EventName.noGps) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |